Skip to content

Commit

Permalink
Fixed GifRecorder error
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Jun 15, 2024
1 parent 98900b2 commit 7a6694c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/recorder/src/arc/gif/GifRecorder.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ public void update(){

if(open){
if(Core.input.keyDown(resizeKey) && !recording){
float xs = Math.abs(wx + offsetx - Core.input.mouseX());
float ys = Math.abs(wy + offsety - Core.input.mouseY());
float xs = Mathf.round(Math.abs(wx + offsetx - Core.input.mouseX()), 2);
float ys = Mathf.round(Math.abs(wy + offsety - Core.input.mouseY()), 2);
bounds.set(-xs, -ys, xs * 2, ys * 2);
}

Expand Down

0 comments on commit 7a6694c

Please sign in to comment.