Skip to content

Commit 4c23a42

Browse files
committed
Tools > Keyboard shortcuts: fix on high-DPI displays
Simple one-line fix. Thank you to @hi5 for catching and reporting!
1 parent dd19f06 commit 4c23a42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Forms/Tools_Hotkeys.frm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ Private Sub Form_Load()
886886

887887
'Turn off automatic redraws in the treeview object
888888
tvMenus.SetAutomaticRedraws False
889-
tvMenus.ListItemHeight = BLOCKHEIGHT
889+
tvMenus.ListItemHeight = Interface.FixDPI(BLOCKHEIGHT)
890890

891891
'Iterate the menu collection, and pair each menu with a hotkey against its relevant hotkey partner
892892
ReDim m_Items(0 To m_NumOfMenus - 1) As PD_HotkeyUI

PhotoDemon.vbp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ Description="PhotoDemon Photo Editor"
534534
CompatibleMode="0"
535535
MajorVer=2024
536536
MinorVer=8
537-
RevisionVer=149
537+
RevisionVer=150
538538
AutoIncrementVer=1
539539
ServerSupportFiles=0
540540
VersionComments="Copyright 2000-2024 Tanner Helland - photodemon.org"

0 commit comments

Comments
 (0)