Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-08-31 09:09:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-31 09:09:52 +0400
commit208b068c3f3fd8fec64f455795e262208e038538 (patch)
tree634a524d74905750113106f4f6827b3257e53e09 /source/blender/editors/space_text/text_intern.h
parentfd90e17130e01cb6f71830e325d11c18f74c52a0 (diff)
text spacing was using DPI rather then the size of the text.
characters could draw outside the selection when the text was scaled up.
Diffstat (limited to 'source/blender/editors/space_text/text_intern.h')
-rw-r--r--source/blender/editors/space_text/text_intern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/text_intern.h b/source/blender/editors/space_text/text_intern.h
index a1187b2da0d..b4c2062ab00 100644
--- a/source/blender/editors/space_text/text_intern.h
+++ b/source/blender/editors/space_text/text_intern.h
@@ -57,7 +57,7 @@ void text_update_cursor_moved(struct bContext *C);
#define TXT_OFFSET ((int)(0.2f * U.widget_unit))
#define TXT_SCROLL_WIDTH U.widget_unit
#define TXT_SCROLL_SPACE ((int)(0.1f * U.widget_unit))
-#define TXT_LINE_SPACING ((int)(0.2f * U.widget_unit)) /* space between lines */
+#define TXT_LINE_SPACING ((int)(0.3f * st->lheight_dpi)) /* space between lines */
#define TEXTXLOC (st->cwidth * st->linenrs_tot)
#define SUGG_LIST_SIZE 7