Commit 5f14acd
committed
Fix v13 scene controls: add activeTool, remove stale layer property
The v13 getSceneControlButtons hook uses keyed objects instead of arrays.
Control groups need activeTool set to avoid errors when switching controls
(foundryvtt/foundryvtt#12803), and the v12 `layer` property is no longer
used.
https://claude.ai/code/session_01QTAfGutqiUt2bJE1EdPVA21 parent 26c34aa commit 5f14acd
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
118 | | - | |
119 | 120 | | |
| 121 | + | |
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
| |||
0 commit comments