mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-04 22:07:36 +00:00
Fix duplicate name labels accumulating across games
This commit is contained in:
@@ -7,4 +7,7 @@ export interface Layer {
|
||||
renderLayer?: (context: CanvasRenderingContext2D) => void;
|
||||
shouldTransform?: () => boolean;
|
||||
redraw?: () => void;
|
||||
// Clean up resources when the layer is no longer needed.
|
||||
// This should remove any DOM elements added during init() and release event listeners.
|
||||
dispose?: () => void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user