Commit d030b0d5 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko

a

parent c352f372
Pipeline #106858 passed with stages
in 22 minutes and 49 seconds
......@@ -28,12 +28,17 @@ public class Games.DisplayBin : Gtk.Bin {
public override void size_allocate (int width, int height, int baseline) {
var child = get_child ();
if (child != null && child.visible) {
Graphene.Point point = { horizontal_offset, vertical_offset };
Gsk.Transform transform = null;
if (get_direction () == Gtk.TextDirection.RTL)
point.x = -horizontal_offset;
if (horizontal_offset != 0 && vertical_offset != 0) {
Graphene.Point point = { horizontal_offset, vertical_offset };
if (get_direction () == Gtk.TextDirection.RTL)
point.x = -horizontal_offset;
transform = transform.translate (point);
}
var transform = ((Gsk.Transform) null).translate (point);
child.allocate (width, height, baseline, transform);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment