Skip to content

Commit

Permalink
Fixed scaled getters
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed May 20, 2024
1 parent 09cf8ac commit b90c844
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dn/Process.hx
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ class Process {
public var stageWid(get,never) : Int;
public var stageHei(get,never) : Int;

public var scaleStageWid(get,never) : Int; inline function get_scaleStageWid() return M.ceil( w() / (root!=null?root.scaleX:1) );
public var scaleStageHei(get,never) : Int; inline function get_scaleStageHei() return M.ceil( h() / (root!=null?root.scaleY:1) );
public var scaledRootWid(get,never) : Int; function get_scaledRootWid() return M.ceil( stageWid / (root!=null?root.scaleX:1) );
public var scaledRootHei(get,never) : Int; function get_scaledRootHei() return M.ceil( stageHei / (root!=null?root.scaleY:1) );

/** Delayer allows for callbacks to be called in a future frame **/
public var delayer : dn.Delayer;
Expand Down

0 comments on commit b90c844

Please sign in to comment.