mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
magnifier: Round the uiGroup to integer positions
This removes the jaggies from text, and other sorts of things. https://bugzilla.gnome.org/show_bug.cgi?id=683073
This commit is contained in:
parent
8aed51180f
commit
3fd0502cb9
1 changed files with 1 additions and 1 deletions
|
|
@ -1325,7 +1325,7 @@ const ZoomRegion = new Lang.Class({
|
|||
this._mouseActor.set_scale(this._xMagFactor, this._yMagFactor);
|
||||
|
||||
let [x, y] = this._screenToViewPort(0, 0);
|
||||
this._uiGroupClone.set_position(x, y);
|
||||
this._uiGroupClone.set_position(Math.round(x), Math.round(y));
|
||||
|
||||
this._updateMousePosition();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue