mirror of
https://github.com/elementary/gala.git
synced 2024-12-18 06:41:36 +03:00
SelectionArea: Align the rectangle to pixel grid (#628)
This commit is contained in:
parent
0f0724c97a
commit
909832a3e5
@ -168,6 +168,8 @@ namespace Gala
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ctx.translate (0.5, 0.5);
|
||||||
|
|
||||||
int x, y, w, h;
|
int x, y, w, h;
|
||||||
get_selection_rectangle (out x, out y, out w, out h);
|
get_selection_rectangle (out x, out y, out w, out h);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user