Skip to content

Commit

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

#if heaps
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) );
#end

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

0 comments on commit dc9816c

Please sign in to comment.