api-issue-tracker icon indicating copy to clipboard operation
api-issue-tracker copied to clipboard

UI::Toolbar#get_last_state refer to magic numbers instead of constants

Open thomthom opened this issue 8 months ago • 1 comments

https://ruby.sketchup.com/UI/Toolbar.html#get_last_state-instance_method

Image

Better to refer to the constants:

https://ruby.sketchup.com/top-level-namespace.html#constants_for_toolbar_states

Image

thomthom avatar May 06 '25 12:05 thomthom

Logged SKEXT-4703

kalpana-ghodeswar avatar Jun 23 '25 13:06 kalpana-ghodeswar