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
aba11b5e0a
commit
e48742f4f6
File diff suppressed because it is too large
Load Diff
@ -49,7 +49,7 @@ var StatusBarActions = actions.Actions({
|
|||||||
'status-bar-modes': [
|
'status-bar-modes': [
|
||||||
'none',
|
'none',
|
||||||
'minimal',
|
'minimal',
|
||||||
'full'
|
'full',
|
||||||
],
|
],
|
||||||
'status-bar-items': [
|
'status-bar-items': [
|
||||||
'index',
|
'index',
|
||||||
|
|||||||
@ -3043,6 +3043,7 @@ var UIScaleActions = actions.Actions({
|
|||||||
|
|
||||||
// XXX need to account for scale in PartialRibbons
|
// XXX need to account for scale in PartialRibbons
|
||||||
// XXX should this be browser API???
|
// XXX should this be browser API???
|
||||||
|
// XXX this does not re-scale the ribbons correctly in nw0.13
|
||||||
toggleInterfaceScale: ['Interface/Toggle interface modes',
|
toggleInterfaceScale: ['Interface/Toggle interface modes',
|
||||||
base.makeConfigToggler('ui-scale-mode',
|
base.makeConfigToggler('ui-scale-mode',
|
||||||
function(){ return Object.keys(this.config['ui-scale-modes']) },
|
function(){ return Object.keys(this.config['ui-scale-modes']) },
|
||||||
@ -3055,10 +3056,8 @@ var UIScaleActions = actions.Actions({
|
|||||||
|
|
||||||
var w = this.screenwidth
|
var w = this.screenwidth
|
||||||
|
|
||||||
// XXX need to compensate for external size change...
|
// NOTE: scale = Math.pow(1.2, zoomLevel)
|
||||||
//this.ribbons.viewer[0].style.transform = 'scale('
|
// XXX in nw0.13 this appears to be async...
|
||||||
// + (this.config['ui-scale-modes'][state] || 1)
|
|
||||||
// +')'
|
|
||||||
win.zoomLevel = this.config['ui-scale-modes'][state] || 0
|
win.zoomLevel = this.config['ui-scale-modes'][state] || 0
|
||||||
|
|
||||||
this.screenwidth = w
|
this.screenwidth = w
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user