Compare commits
3 Commits
49.alpha.0
...
45.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f27b239f55 | ||
|
|
7f192d0208 | ||
|
|
eff6f6ef88 |
12
NEWS
12
NEWS
@@ -1,3 +1,15 @@
|
||||
45.1
|
||||
====
|
||||
* workspace-indicator: Fix initial preview visibility [Florian; !280]
|
||||
* screenshot-window-sizer: Fix cycling between sizes backwards [Florian; !284]
|
||||
* Misc. bug fixes and cleanups [Florian; !276, !275, !278, !281]
|
||||
|
||||
Contributors:
|
||||
Florian Müllner
|
||||
|
||||
Translators:
|
||||
Kristjan SCHMIDT [eo], Brage Fuglseth [nb]
|
||||
|
||||
45.0
|
||||
====
|
||||
|
||||
|
||||
@@ -65,10 +65,7 @@ export default class ScreenshotWindowSizerExtension extends Extension {
|
||||
* @param {Meta.KeyBinding} binding - the key binding
|
||||
*/
|
||||
_cycleScreenshotSizes(display, window, binding) {
|
||||
// Probably this isn't useful with 5 sizes, but you can decrease instead
|
||||
// of increase by holding down shift.
|
||||
let modifiers = binding.get_modifiers();
|
||||
let backwards = (modifiers & Meta.VirtualModifier.SHIFT_MASK) !== 0;
|
||||
const backwards = binding.is_reversed();
|
||||
|
||||
// Unmaximize first
|
||||
if (window.get_maximized() !== 0)
|
||||
@@ -99,7 +96,7 @@ export default class ScreenshotWindowSizerExtension extends Extension {
|
||||
|
||||
// get the next size up or down from ideal
|
||||
let newIndex = (nearestIndex + (backwards ? -1 : 1)) % scaledSizes.length;
|
||||
let [newWidth, newHeight] = scaledSizes[newIndex];
|
||||
let [newWidth, newHeight] = scaledSizes.at(newIndex);
|
||||
|
||||
// Push the window onscreen if it would be resized offscreen
|
||||
let newX = outerRect.x;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
project('gnome-shell-extensions',
|
||||
version: '45.0',
|
||||
version: '45.1',
|
||||
meson_version: '>= 0.58.0',
|
||||
license: 'GPL2+'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user