inspector: Don't offset layout overlay too much

We already do this earlier.
This commit is contained in:
Timm Bäder 2020-05-20 09:10:14 +02:00
parent b41838a7fd
commit 8e8e869853

View File

@ -157,13 +157,7 @@ gtk_layout_overlay_snapshot (GtkInspectorOverlay *overlay,
GskRenderNode *node,
GtkWidget *widget)
{
double nx, ny;
gtk_native_get_surface_transform (GTK_NATIVE (widget), &nx, &ny);
gtk_snapshot_save (snapshot);
gtk_snapshot_translate (snapshot, &(graphene_point_t){ nx, ny });
recurse_child_widgets (widget, snapshot);
gtk_snapshot_restore (snapshot);
}
static void