Permalink
Browse files

Output.as bugfix (thanks Kasper)

  • Loading branch information...
1 parent c1d8aaf commit 9c2cbf670956b594ed6bf61af3ae1922851b41b4 @og2t committed Nov 13, 2011
Showing with 6 additions and 3 deletions.
  1. +6 −3 src/hislope/gui/Output.as
@@ -146,9 +146,12 @@ package hislope.gui
{
_scale = value;
outputBitmap.scaleX = outputBitmap.scaleY = value;
- if (window) window.setSize(outputBitmap.width, outputBitmap.height + 20);
- saveButton.x = outputBitmap.width - 102;
- setTitle();
+ if (window)
+ {
+ window.setSize(outputBitmap.width, outputBitmap.height + 20);
+ saveButton.x = outputBitmap.width - 102;
+ setTitle();
+ }
}
// HELPERS ////////////////////////////////////////////////////////////////////////////

0 comments on commit 9c2cbf6

Please sign in to comment.