Skip to content

Commit

Permalink
Merge pull request #653 from Shallowmallow/SidebarFix
Browse files Browse the repository at this point in the history
Modal Overlay always size of screen
  • Loading branch information
ianharrigan authored Nov 18, 2024
2 parents 2461288 + 9b44dff commit db51e28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions haxe/ui/containers/SideBar.hx
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ class SideBar extends Box {

first.set(new Directive("left", Value.VDimension(Dimension.PX(rootComponent.left))));
first.set(new Directive("top", Value.VDimension(Dimension.PX(rootComponent.top))));
first.set(new Directive("width", Value.VDimension(Dimension.PX(rootComponent.width))));
first.set(new Directive("height", Value.VDimension(Dimension.PX(rootComponent.height))));
first.set(new Directive("width", Value.VDimension(Dimension.PX(Screen.instance.actualWidth))));
first.set(new Directive("height", Value.VDimension(Dimension.PX(Screen.instance.actualHeight))));

last.set(new Directive("left", Value.VDimension(Dimension.PX(rootComponent.left))));
last.set(new Directive("top", Value.VDimension(Dimension.PX(rootComponent.top))));
last.set(new Directive("width", Value.VDimension(Dimension.PX(rootComponent.width))));
last.set(new Directive("height", Value.VDimension(Dimension.PX(rootComponent.height))));
last.set(new Directive("width", Value.VDimension(Dimension.PX(Screen.instance.actualWidth))));
last.set(new Directive("height", Value.VDimension(Dimension.PX(Screen.instance.actualHeight))));

_lastMethod = method;

Expand Down

0 comments on commit db51e28

Please sign in to comment.