You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How Are You Using Foundry: Native Application (Electron)
Which Game System: any
Modules Enabled?: no
Issue Description
Canvas#_onDragLeftStart has a line checking for whether the active layer is the token layer. It fails if a TokenLayer subclass is configured due to an exact constructor name check:
_onDragLeftStart(event){// Extract event dataconstlayer=this.activeLayer;constisRuler=game.activeTool==="ruler";// ▼ "TokenLayerPF2e" due to CanvasLayer#name getter ▼constisCtrlRuler=game.keyboard.isModifierActive(KeyboardManager.MODIFIER_KEYS.CONTROL)&&(layer.name==="TokenLayer");
The text was updated successfully, but these errors were encountered:
Originally in GitLab by @stwlam
Environment Details
Issue Description
Canvas#_onDragLeftStart has a line checking for whether the active layer is the token layer. It fails if a
TokenLayer
subclass is configured due to an exact constructor name check:The text was updated successfully, but these errors were encountered: