diff --git a/ui (gen4)/features/base.js b/ui (gen4)/features/base.js index 12c2e129..f3dd6a8b 100755 --- a/ui (gen4)/features/base.js +++ b/ui (gen4)/features/base.js @@ -582,8 +582,9 @@ module.SortActions = actions.Actions({ 'none': '', // NOTE: this is descending by default... 'Date': 'metadata.createDate birthtime reverse', + 'File date': 'birthtime reverse', 'Name (XP-style)': 'name-leading-sequence name path', - 'File sequence number': 'name-leading-sequence name path', + 'File sequence number': 'name-sequence name path', 'Name': 'name path', // XXX sequence number with overflow... //'File sequence number with overflow': 'name-leading-sequence name path', diff --git a/ui (gen4)/features/ui-single-image.js b/ui (gen4)/features/ui-single-image.js index 5d780e5e..a552b874 100755 --- a/ui (gen4)/features/ui-single-image.js +++ b/ui (gen4)/features/ui-single-image.js @@ -209,6 +209,17 @@ module.SingleImageView = core.ImageGridFeatures.Feature({ actions: SingleImageActions, handlers:[ + // XXX HACK: force browser to redraw off-screen images... + // ...it appears that chrome cheats by not resizing off-screen + // images properly after changing scale... + // XXX this is still not perfect... + // ...if needed do a .reload() / ctrl-r + ['focusImage', + function(){ + if(this.toggleSingleImage('?') == 'on'){ + this.scale = this.scale + } + }], ['fitImage.post setScale.post', function(){ // singe image mode -- set image proportions... diff --git a/ui (gen4)/features/ui.js b/ui (gen4)/features/ui.js index 2494ff61..20807e95 100755 --- a/ui (gen4)/features/ui.js +++ b/ui (gen4)/features/ui.js @@ -260,6 +260,9 @@ module.ViewerActions = actions.Actions({ .refresh() .focusImage() + // XXX HACK to make browser redraw images... + this.scale = this.scale + this.ribbons.restoreTransitions() } }],