mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
785d03b07e
commit
fada354813
@ -860,7 +860,7 @@ module.ViewerActions = actions.Actions({
|
|||||||
// ribbon rotation...
|
// ribbon rotation...
|
||||||
ribbonRotation: ['- Interface/',
|
ribbonRotation: ['- Interface/',
|
||||||
function(a){
|
function(a){
|
||||||
if(a){
|
if(arguments.length > 0){
|
||||||
this.ribbons.rotate(a)
|
this.ribbons.rotate(a)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -871,6 +871,8 @@ module.ViewerActions = actions.Actions({
|
|||||||
function(a){ this.ribbonRotation('+='+ (a || 10)) }],
|
function(a){ this.ribbonRotation('+='+ (a || 10)) }],
|
||||||
rotateRibbonCCW: ['Interface/Rotate ribbon coounter clockwise',
|
rotateRibbonCCW: ['Interface/Rotate ribbon coounter clockwise',
|
||||||
function(a){ this.ribbonRotation('-='+ (a || 10)) }],
|
function(a){ this.ribbonRotation('-='+ (a || 10)) }],
|
||||||
|
resetRibbonRotation: ['Interface/Reset ribbon rotation',
|
||||||
|
function(){ this.ribbonRotation(0) }],
|
||||||
|
|
||||||
|
|
||||||
// tags...
|
// tags...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user