Repository navigation
How To : improve speed of display for user created sub-menus requiring complex variables to be calculated #851
frying-pan
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Speed of display is improved on repetitive TEST sub-menu hovering, because complex variables are only calculated once per mouse right-click. On a new right-click, we usually want these variables to be updated (if they depend on the state of the file system/computer/date and time etc....)
If the variables do NOT need to be updated between two right-clicks (so until the application is restarted : explorer.exe or another app) the two lines after the menu(){} should be commented out :
All reactions