[gnome-builder] libide/editor: compress minimap a bit
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/editor: compress minimap a bit
- Date: Sat, 1 Oct 2022 23:58:00 +0000 (UTC)
commit fe0ddb0823e57fadc436f5f7fcd53b3da9b02fd3
Author: Christian Hergert <chergert redhat com>
Date: Sat Oct 1 16:56:35 2022 -0700
libide/editor: compress minimap a bit
We don't need to follow Text Editor in sizes here, as Text Editor is more
of a generic editor. We expect people writing code here, and a bit more
space has a very practical benefit.
I would expect a slight slowdown in text rendering performance, given that
this will require snapshotting more lines (and snapshotting lines in GSV
requires potentially updating the highlight for that region).
3px suggested by @exalm.
src/libide/editor/style.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/editor/style.css b/src/libide/editor/style.css
index 9be2a45e5..193ea64c9 100644
--- a/src/libide/editor/style.css
+++ b/src/libide/editor/style.css
@@ -1,7 +1,7 @@
textview.GtkSourceMap {
font-family: BuilderBlocks;
font-size: 1.75pt;
- line-height: 5px;
+ line-height: 3px;
color: alpha(currentColor, 0.75);
}
textview.GtkSourceMap:dir(ltr) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]