Skip to content

Commit

Permalink
Tools > Keyboard shortcuts: fix on high-DPI displays
Browse files Browse the repository at this point in the history
Simple one-line fix.  Thank you to @hi5 for catching and reporting!
  • Loading branch information
tannerhelland committed Nov 17, 2024
1 parent dd19f06 commit 4c23a42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Forms/Tools_Hotkeys.frm
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ Private Sub Form_Load()

'Turn off automatic redraws in the treeview object
tvMenus.SetAutomaticRedraws False
tvMenus.ListItemHeight = BLOCKHEIGHT
tvMenus.ListItemHeight = Interface.FixDPI(BLOCKHEIGHT)

'Iterate the menu collection, and pair each menu with a hotkey against its relevant hotkey partner
ReDim m_Items(0 To m_NumOfMenus - 1) As PD_HotkeyUI
Expand Down
2 changes: 1 addition & 1 deletion PhotoDemon.vbp
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ Description="PhotoDemon Photo Editor"
CompatibleMode="0"
MajorVer=2024
MinorVer=8
RevisionVer=149
RevisionVer=150
AutoIncrementVer=1
ServerSupportFiles=0
VersionComments="Copyright 2000-2024 Tanner Helland - photodemon.org"
Expand Down

0 comments on commit 4c23a42

Please sign in to comment.