magnifier: Make magnification factor changes animatable
So we can seamlessly change between them through eg. keybindings. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984
This commit is contained in:
parent
83d083f189
commit
e16def0c43
@ -875,7 +875,8 @@ var ZoomRegion = class ZoomRegion {
|
|||||||
setMagFactor(xMagFactor, yMagFactor) {
|
setMagFactor(xMagFactor, yMagFactor) {
|
||||||
this._changeROI({ xMagFactor,
|
this._changeROI({ xMagFactor,
|
||||||
yMagFactor,
|
yMagFactor,
|
||||||
redoCursorTracking: this._followingCursor });
|
redoCursorTracking: this._followingCursor,
|
||||||
|
animate: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user