From 6c26911c3df6b02a0ee19899e71207f372b718b3 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 20 Apr 2017 00:17:42 +0200 Subject: Fix T51248: user preferences window size not adapted to DPI. --- source/blender/editors/include/UI_interface.h | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 4945406c57b..a9e94b05da4 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -217,7 +217,6 @@ enum { /* scale fixed button widths by this to account for DPI */ #define UI_DPI_FAC ((U.pixelsize * (float)U.dpi) / 72.0f) -#define UI_DPI_WINDOW_FAC (((float)U.dpi) / 72.0f) /* 16 to copy ICON_DEFAULT_HEIGHT */ #define UI_DPI_ICON_SIZE ((float)16 * UI_DPI_FAC) -- cgit v1.2.3