Plugin doesn't respect UI Zoom Factor onInit
- 
 @ccbl said in Plugin doesn't respect UI Zoom Factor onInit: @oskarsh how would that look in context? inline function onFiftyControl(component, value) { Settings.setZoomLevel(0.5); }; Content.getComponent("Fifty").setControlCallback(onFiftyControl)Do you define the value as 1.0? I really don't know coding very well. so like this: inline function onFiftyControl(component, value) { if(value) Settings.setZoomLevel(0.5); }; Content.getComponent("Fifty").setControlCallback(onFiftyControl)
- 
 @Lindon Genius! 
- 
 @d-healey ha ha ha ha..... 
- 
 @Lindon wow sleek and elegant solution! 
- 
 @Lindon said in Plugin doesn't respect UI Zoom Factor onInit: @ccbl said in Plugin doesn't respect UI Zoom Factor onInit: @oskarsh how would that look in context? inline function onFiftyControl(component, value) { Settings.setZoomLevel(0.5); }; Content.getComponent("Fifty").setControlCallback(onFiftyControl)Do you define the value as 1.0? I really don't know coding very well. so like this: inline function onFiftyControl(component, value) { if(value) Settings.setZoomLevel(0.5); }; Content.getComponent("Fifty").setControlCallback(onFiftyControl)After flushing my %appdata% config this worked! Thanks! 


