[gnome-builder/wip/gtk4-port] plugins/omni-gutter: extend breakpoint drawing region
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] plugins/omni-gutter: extend breakpoint drawing region
- Date: Sat, 30 Apr 2022 17:10:05 +0000 (UTC)
commit 20265de86d8784f8802ce9cdbe7fa10fb9f9f56d
Author: Christian Hergert <chergert redhat com>
Date: Sat Apr 30 10:10:00 2022 -0700
plugins/omni-gutter: extend breakpoint drawing region
Now we can make it *look* like it overlaps the textview.
src/plugins/omni-gutter/gbp-omni-gutter-renderer.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/plugins/omni-gutter/gbp-omni-gutter-renderer.c
b/src/plugins/omni-gutter/gbp-omni-gutter-renderer.c
index 67f3c1e87..031d928df 100644
--- a/src/plugins/omni-gutter/gbp-omni-gutter-renderer.c
+++ b/src/plugins/omni-gutter/gbp-omni-gutter-renderer.c
@@ -1276,7 +1276,6 @@ gbp_omni_gutter_renderer_snapshot_line (GtkSourceGutterRenderer *renderer,
gboolean has_breakpoint = FALSE;
gboolean bold = FALSE;
-
if (!self->draw_has_selection && is_cursor)
gtk_snapshot_append_color (snapshot,
&self->current_line,
@@ -1319,7 +1318,7 @@ gbp_omni_gutter_renderer_snapshot_line (GtkSourceGutterRenderer *renderer,
{
has_breakpoint = IS_BREAKPOINT (info);
if (has_breakpoint || active)
- draw_breakpoint_bg (self, snapshot, line_y, width - RIGHT_MARGIN, line_height, active, info);
+ draw_breakpoint_bg (self, snapshot, line_y, width, line_height, active, info);
}
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]