File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1+ ## 0.11.6
2+
3+ - Fix more issues with ControlIcon replacement
4+
15## 0.11.5
26
37- Fix issue with note labels being placed under control icons
Original file line number Diff line number Diff line change 11{
22 "id" : " fvtt-perf-optim" ,
33 "title" : " Prime Performance" ,
4- "version" : " 0.11.5 " ,
4+ "version" : " 0.11.6 " ,
55 "description" : " Provides a collection of unofficial performance optimizations and hacks for foundry vtt." ,
66 "esmodules" : [" dist/fvtt-perf-optim.js" ],
77 "languages" : [
Original file line number Diff line number Diff line change @@ -133,8 +133,11 @@ function removeOldControlIcon(container: PIXI.Container & { controlIcon: Control
133133 return 0 ;
134134 }
135135 const oldControlIcon = container . controlIcon ;
136- const index = container . getChildIndex ( oldControlIcon ) ;
137- container . removeChild ( oldControlIcon ) ;
136+ let index = 0 ;
137+ try {
138+ index = container . getChildIndex ( oldControlIcon ) ;
139+ container . removeChild ( oldControlIcon ) ;
140+ } catch { }
138141 return index ;
139142}
140143
You can’t perform that action at this time.
0 commit comments