History

Tweaks to menu to have right position under Mac, always on, slightly smaller font

Philip Rosedale committed 13 years ago

Commit 85990321 parent 8b54b523 files · +5 −5Browse files

Showing the changes to interface/src/Menu.cpp (1 of 3 files). Show all

Unified · Split

interface/src/Menu.cpp+3−2
@@ -20,8 +20,9 @@ const int LINE_HEIGHT = 30; · 19 unmodified lines
2020 const int MENU_HEIGHT = 30;
2121
2222 #ifdef _WIN32
23−const int MENU_Y_OFFSET = 8; // under windows we have 8 vertical pixels offset. In 2D an object with y=8, the object is displayed at y=0
24− // change the value in the other platforms (if required).
23+const int MENU_Y_OFFSET = 8; // under windows we have 8 vertical pixels offset.
24+ // In 2D an object with y=8, the object is displayed at y=0
25+ // change the value in the other platforms (if required).
2526 #else
2627 const int MENU_Y_OFFSET = 0;
2728 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t