Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/aduros/flambe into rotati…
Browse files Browse the repository at this point in the history
…on-cache
  • Loading branch information
Kipp Ashford committed Jan 23, 2015
2 parents 42c4e20 + fc2ce24 commit 45e2be4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion command/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ exports.build = function (config, platforms, opts) {

var swfFlags = function (air) {
// Flags common to all swf-based targets (flash, android, ios)
var flags = ["--flash-strict", "-swf-header", "640:480:60:000000"];
var flags = ["--flash-strict", "-swf-header", get(config, "width", "640")+":"+get(config, "height", "480")+":"+get(config, "framerate", "60")+":000000"];
if (debug) flags.push("-D", "fdb", "-D", "advanced-telemetry");
else flags.push("-D", "native_trace");

Expand Down
6 changes: 4 additions & 2 deletions src/flambe/display/Sprite.hx
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,10 @@ class Sprite extends Component
_pointerOut.emit(event);
}
_flags = _flags.remove(HOVERING);
_hoverConnection.dispose();
_hoverConnection = null;
if (_hoverConnection != null) {
_hoverConnection.dispose();
_hoverConnection = null;
}
});
}

Expand Down

0 comments on commit 45e2be4

Please sign in to comment.