-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
All keywords, function names, etc from Processing that exist in Propane have had their names converted to follow Ruby's snake_case convention. (e.g. mousePressed --> mouse_pressed)
I have found a few exceptions to this rule
Expected Behavior
All names should have snake_case equivalents
Actual Behavior
There are several names that don't have snake_case equivalents:
mouse_wheel
mouse_wheel is not triggered when the mouse wheel is used, and mouseWheel must be used instead
Doesn't work:
def mouse_wheel(event)
scroll_count = event.get_count
puts scroll_count
endWorks:
def mouseWheel(event)
scroll_count = event.get_count
puts scroll_count
enddisplay_width, display_height, pixel_width and pixel_height
Doesn't work:
puts display_width
puts display_height
puts pixel_width
puts pixel_heightWorks:
puts displayWidth
puts displayHeight
puts pixelWidth
puts pixelHeightMetadata
Metadata
Assignees
Labels
No labels