Permalink
Browse files

minor fixes

  • Loading branch information...
ncannasse committed Oct 3, 2017
1 parent 84f9f67 commit a66eab59f03782201b48e999a69771cc2f10656b
Showing with 9 additions and 25 deletions.
  1. +1 −19 .gitignore
  2. +2 −0 bin/cdb.cmd
  3. +1 −1 castle.hxproj
  4. +2 −2 src/JqPages.hx
  5. +3 −3 src/Level.hx
View
@@ -1,29 +1,11 @@
/*.cdb
/bin/CastleDB.app
/bin/*.dll
/bin/*.exe
/bin/nw.pak
/bin/credits.html
/new.img
/src/test/test.js
/src/test/test.swf
/bin/castle.js.map
/bin/Release.n
/bin/*.zip
/bin/package.nw
/bin/*.tgz
/www/file
/bin/style.min.css
/bin/icudtl.dat
/www/sample
/bin/castle.js
/bin/nwjs
View
@@ -0,0 +1,2 @@
@cd %~dp0
@nwjs\nw.exe --nwapp package.json %*
View
@@ -55,7 +55,7 @@
<options>
<option showHiddenPaths="False" />
<option testMovie="OpenDocument" />
<option testMovieCommand="bin\cdb.exe" />
<option testMovieCommand="bin\cdb.cmd" />
</options>
<!-- Plugin storage -->
<storage />
View
@@ -158,10 +158,10 @@ class JqPage extends vdom.Server {
prevSelectEvent(null);
prevSelectEvent = result;
fs.val("");
fs.unbind("change");
fs.off("change");
fs.change(function(_) {
prevSelectEvent = null;
fs.unbind("change");
fs.off("change");
var path = fs.val().split("\\").join("/");
fs.val("");
if( path == "" ) {
View
@@ -1187,9 +1187,9 @@ class Level {
var o = Reflect.field(obj, l.name)[index];
var scroll = content.find(".scrollContent");
var popup = J("<div>").addClass("popup").prependTo(scroll);
J(js.Browser.window).bind("mousedown", function(_) {
J(js.Browser.window).on("mousedown", function(_) {
popup.remove();
J(js.Browser.window).unbind("mousedown");
J(js.Browser.window).off("mousedown");
if( view != null ) draw();
});
popup.mousedown(function(e) e.stopPropagation());
@@ -1631,7 +1631,7 @@ class Level {
case K.SPACE:
spaceDown = false;
var canvas = J(view.getCanvas());
canvas.unbind("mousemove");
canvas.off("mousemove");
canvas.css( { cursor : "" } );
updateCursorPos();
case "S".code:

0 comments on commit a66eab5

Please sign in to comment.