SelectionArea: Align the rectangle to pixel grid (#628)

This commit is contained in:
Alexander Mikhaylenko 2019-11-04 22:12:09 +05:00 committed by Daniel Foré
parent 0f0724c97a
commit 909832a3e5

View File

@ -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);