diff options
author | Nivesh Rajbhandari | 2012-04-04 17:24:27 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-04-04 17:24:27 -0700 |
commit | 01cf259da7aaa7d70789d9a7c32111d88b477463 (patch) | |
tree | 0bff3395ac681e5f685d2267f7dbc03a8e32bc4a /js/stage/tool-handle.js | |
parent | 331ea08655245e3532e48bf160d5f68a04d8723f (diff) | |
parent | 13368ca6ebbc13adeafccd898dfffd7ce37cb28a (diff) | |
download | ninja-01cf259da7aaa7d70789d9a7c32111d88b477463.tar.gz |
Merge branch 'refs/heads/ToolFixes' into WebGLMaterials
Conflicts:
js/document/templates/montage-html/default_html.css
js/mediators/element-mediator.js
js/panels/properties.reel/properties.js
js/tools/BrushTool.js
js/tools/LineTool.js
js/tools/PenTool.js
js/tools/SelectionTool.js
js/tools/ShapeTool.js
js/tools/TranslateObject3DTool.js
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/stage/tool-handle.js')
-rwxr-xr-x | js/stage/tool-handle.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/js/stage/tool-handle.js b/js/stage/tool-handle.js index f16d8324..d353da47 100755 --- a/js/stage/tool-handle.js +++ b/js/stage/tool-handle.js | |||
@@ -235,6 +235,8 @@ exports.RotateHandle = Montage.create(ToolHandle, { | |||
235 | context.strokeStyle = this._strokeStyle; | 235 | context.strokeStyle = this._strokeStyle; |
236 | context.fillStyle = this._fillStyle; | 236 | context.fillStyle = this._fillStyle; |
237 | context.lineWidth = this._lineWidth; | 237 | context.lineWidth = this._lineWidth; |
238 | context.shadowBlur = 2; | ||
239 | context.shadowColor = "rgba(0, 0, 0, 0.8)"; | ||
238 | 240 | ||
239 | var pointOnElt = base.slice(0); | 241 | var pointOnElt = base.slice(0); |
240 | // this._origin = viewUtils.localToGlobal(pointOnElt, item); | 242 | // this._origin = viewUtils.localToGlobal(pointOnElt, item); |
@@ -400,7 +402,8 @@ exports.RotateHandle = Montage.create(ToolHandle, { | |||
400 | var context = this.application.ninja.stage.drawingContext; | 402 | var context = this.application.ninja.stage.drawingContext; |
401 | context.save(); | 403 | context.save(); |
402 | 404 | ||
403 | context.strokeStyle = this._strokeStyle; | 405 | context.strokeStyle = "rgba(0,0,0,1)"; |
406 | context.lineWidth = 2; | ||
404 | context.fillStyle = this._fillStyle; | 407 | context.fillStyle = this._fillStyle; |
405 | context.globalAlpha = 0.2; | 408 | context.globalAlpha = 0.2; |
406 | 409 | ||
@@ -574,6 +577,8 @@ exports.TranslateHandle = Montage.create(ToolHandle, { | |||
574 | context.strokeStyle = this._strokeStyle; | 577 | context.strokeStyle = this._strokeStyle; |
575 | context.fillStyle = this._fillStyle; | 578 | context.fillStyle = this._fillStyle; |
576 | context.lineWidth = this._lineWidth; | 579 | context.lineWidth = this._lineWidth; |
580 | context.shadowBlur = 2; | ||
581 | context.shadowColor = "rgba(0, 0, 0, 0.8)"; | ||
577 | 582 | ||
578 | var pointOnElt = base.slice(0); | 583 | var pointOnElt = base.slice(0); |
579 | // this._origin = viewUtils.localToGlobal(pointOnElt, item); | 584 | // this._origin = viewUtils.localToGlobal(pointOnElt, item); |