Skip to content

Commit

Permalink
Fixed Cropping Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
NoFoolLikeOne committed Dec 18, 2022
1 parent 7879cab commit 493b4a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion load.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ def save_screenshot(event):

def save_crop(event):
if this.crop_status:
debug("saving crop?")
this.crop.save(this.converted, "PNG")
this.status['text'] = "Crop Saved"

Expand Down Expand Up @@ -487,7 +488,7 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
this.crop = this.im.crop((451, 270, 1460, 837))
elif focus == SYSTEMS_PANEL:
this.crop = this.im.crop((451, 270, 1460, 837))
if this.thargoid:
elif this.thargoid:
this.thargoid = False
width = int(entry.get("Width"))
height = int(entry.get("Height"))
Expand Down

0 comments on commit 493b4a6

Please sign in to comment.