diff options
author | Valerio Virgillito | 2012-02-13 15:06:32 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-13 15:06:32 -0800 |
commit | feb38c70d6762a9cde982af04c2e37a0a2dcade5 (patch) | |
tree | 9cae059035ad5cf981aeebdbc3d5f88790ad13bc /js/panels | |
parent | 0d7d6d4d98437a93f31ededa14ca6eb5382c9e58 (diff) | |
parent | 7b0910720a6979bf41c216c5072d5c7a91e6d0b7 (diff) | |
download | ninja-feb38c70d6762a9cde982af04c2e37a0a2dcade5.tar.gz |
Merge branch 'refs/heads/master' into stage-color
Diffstat (limited to 'js/panels')
3 files changed, 8 insertions, 8 deletions
diff --git a/js/panels/Color/colorpanelbase.reel/colorpanelbase.js b/js/panels/Color/colorpanelbase.reel/colorpanelbase.js index 9a27689a..ff738bbe 100644 --- a/js/panels/Color/colorpanelbase.reel/colorpanelbase.js +++ b/js/panels/Color/colorpanelbase.reel/colorpanelbase.js | |||
@@ -1499,13 +1499,13 @@ exports.ColorPanelBase = Montage.create(Component, { | |||
1499 | // | 1499 | // |
1500 | if (type._event.clientX && type._event.clientY) { | 1500 | if (type._event.clientX && type._event.clientY) { |
1501 | // | 1501 | // |
1502 | if (type._event.clientX > (parseInt(document.width)/2)) { | 1502 | //if (type._event.clientX > (parseInt(document.width)/2)) { |
1503 | //TODO: Fix offset hack | 1503 | //TODO: Fix offset hack |
1504 | this.application.ninja.colorController.colorPopupManager.showColorPopup((type._event.clientX - type._event.offsetX) +'px', (type._event.target.clientHeight/2+type._event.clientY - type._event.offsetY)+'px', 'right', 'top'); | 1504 | this.application.ninja.colorController.colorPopupManager.showColorPopup((type._event.clientX - type._event.offsetX) +'px', (type._event.target.clientHeight/2+type._event.clientY - type._event.offsetY)+'px', 'right', 'top'); |
1505 | } else { | 1505 | //} else { |
1506 | // | 1506 | // |
1507 | this.application.ninja.colorController.colorPopupManager.showColorPopup((type._event.clientX - type._event.offsetX)+parseInt(type._event.target.offsetWidth)+'px', (type._event.target.offsetHeight/2+type._event.clientY - type._event.offsetY)+'px', 'left', 'top'); | 1507 | // this.application.ninja.colorController.colorPopupManager.showColorPopup((type._event.clientX - type._event.offsetX)+parseInt(type._event.target.offsetWidth)+'px', (type._event.target.offsetHeight/2+type._event.clientY - type._event.offsetY)+'px', 'left', 'top'); |
1508 | } | 1508 | //} |
1509 | } | 1509 | } |
1510 | } | 1510 | } |
1511 | } else { | 1511 | } else { |
diff --git a/js/panels/Color/colorpanelpopup.reel/css/colorpanelpopup.css b/js/panels/Color/colorpanelpopup.reel/css/colorpanelpopup.css index 6a418279..4db0abff 100644 --- a/js/panels/Color/colorpanelpopup.reel/css/colorpanelpopup.css +++ b/js/panels/Color/colorpanelpopup.reel/css/colorpanelpopup.css | |||
@@ -6,7 +6,7 @@ | |||
6 | </copyright> */ | 6 | </copyright> */ |
7 | /* line 12, colorpanelpopup.scss */ | 7 | /* line 12, colorpanelpopup.scss */ |
8 | .cpp_popup { | 8 | .cpp_popup { |
9 | overflow: none; | 9 | overflow: hidden; |
10 | font-size: 12px; | 10 | font-size: 12px; |
11 | text-shadow: 1px 1px 1px #000; | 11 | text-shadow: 1px 1px 1px #000; |
12 | font-family: 'Droid Sans', sans-serif; | 12 | font-family: 'Droid Sans', sans-serif; |
@@ -28,7 +28,7 @@ | |||
28 | text-indent: -9999px; | 28 | text-indent: -9999px; |
29 | overflow: hidden; | 29 | overflow: hidden; |
30 | float: right; | 30 | float: right; |
31 | padding: none; | 31 | padding: 0; |
32 | cursor: pointer; | 32 | cursor: pointer; |
33 | border: 1px solid transparent; | 33 | border: 1px solid transparent; |
34 | } | 34 | } |
diff --git a/js/panels/Color/colorpanelpopup.reel/css/colorpanelpopup.scss b/js/panels/Color/colorpanelpopup.reel/css/colorpanelpopup.scss index 20481fb6..1f63658a 100644 --- a/js/panels/Color/colorpanelpopup.reel/css/colorpanelpopup.scss +++ b/js/panels/Color/colorpanelpopup.reel/css/colorpanelpopup.scss | |||
@@ -10,7 +10,7 @@ $grey_light: #494949; | |||
10 | 10 | ||
11 | .cpp_popup | 11 | .cpp_popup |
12 | { | 12 | { |
13 | overflow: none; | 13 | overflow: hidden; |
14 | font-size: 12px; | 14 | font-size: 12px; |
15 | text-shadow: 1px 1px 1px #000; | 15 | text-shadow: 1px 1px 1px #000; |
16 | font-family: 'Droid Sans', sans-serif; | 16 | font-family: 'Droid Sans', sans-serif; |
@@ -32,7 +32,7 @@ $grey_light: #494949; | |||
32 | text-indent: -9999px; | 32 | text-indent: -9999px; |
33 | overflow: hidden; | 33 | overflow: hidden; |
34 | float: right; | 34 | float: right; |
35 | padding: none; | 35 | padding: 0; |
36 | cursor: pointer; | 36 | cursor: pointer; |
37 | border: 1px solid transparent; | 37 | border: 1px solid transparent; |
38 | } | 38 | } |