mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
aba11b5e0a
commit
e48742f4f6
File diff suppressed because it is too large
Load Diff
@ -49,7 +49,7 @@ var StatusBarActions = actions.Actions({
|
||||
'status-bar-modes': [
|
||||
'none',
|
||||
'minimal',
|
||||
'full'
|
||||
'full',
|
||||
],
|
||||
'status-bar-items': [
|
||||
'index',
|
||||
|
||||
@ -3043,6 +3043,7 @@ var UIScaleActions = actions.Actions({
|
||||
|
||||
// XXX need to account for scale in PartialRibbons
|
||||
// XXX should this be browser API???
|
||||
// XXX this does not re-scale the ribbons correctly in nw0.13
|
||||
toggleInterfaceScale: ['Interface/Toggle interface modes',
|
||||
base.makeConfigToggler('ui-scale-mode',
|
||||
function(){ return Object.keys(this.config['ui-scale-modes']) },
|
||||
@ -3055,10 +3056,8 @@ var UIScaleActions = actions.Actions({
|
||||
|
||||
var w = this.screenwidth
|
||||
|
||||
// XXX need to compensate for external size change...
|
||||
//this.ribbons.viewer[0].style.transform = 'scale('
|
||||
// + (this.config['ui-scale-modes'][state] || 1)
|
||||
// +')'
|
||||
// NOTE: scale = Math.pow(1.2, zoomLevel)
|
||||
// XXX in nw0.13 this appears to be async...
|
||||
win.zoomLevel = this.config['ui-scale-modes'][state] || 0
|
||||
|
||||
this.screenwidth = w
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user