[Pkg-javascript-commits] [jarisplayer] 52/80: fix new control do not autohide bug

Jonas Smedegaard dr at jones.dk
Tue May 10 08:45:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository jarisplayer.

commit 48d30e754f3485cc846c58ab1d56f669681afb9f
Author: Michelangelo Giacomelli <michelangelo at air13.local>
Date:   Thu Nov 27 00:36:17 2014 +0100

    fix new control do not autohide bug
---
 src/jaris/player/newcontrols/NewControls.hx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/jaris/player/newcontrols/NewControls.hx b/src/jaris/player/newcontrols/NewControls.hx
index e3493bc..56e7011 100755
--- a/src/jaris/player/newcontrols/NewControls.hx
+++ b/src/jaris/player/newcontrols/NewControls.hx
@@ -276,10 +276,10 @@ class NewControls extends MovieClip {
 		{
 			if (_controlsVisible)
 			{
-				if (_stage.mouseX < _controlsBar.x || 
+				if (_stage.mouseX <= 1 || 
 					_stage.mouseX >= _stage.stageWidth - 1 || 
 					_stage.mouseY >= _stage.stageHeight - 1 ||
-					_stage.mouseY <= 1
+					_stage.mouseY < _controlsBar.y
 				   )
 				{
 					_controlsVisible = false;
@@ -942,4 +942,4 @@ class NewControls extends MovieClip {
 	}
 	//}
 	
-}
\ No newline at end of file
+}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/jarisplayer.git



More information about the Pkg-javascript-commits mailing list