This is an automated email from the git hooks/post-receive script. thansen pushed a commit to branch master in repository aseprite.
commit 7c9ba1332124cbc25f7a6446ee4f8d56007faeee Author: David Capello <[email protected]> Date: Tue Apr 12 17:27:01 2016 -0300 Add double-click support on Skia/OS X port (fix #1057) --- src/she/osx/view.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/she/osx/view.mm b/src/she/osx/view.mm index 1cc7710..52bfc6b 100644 --- a/src/she/osx/view.mm +++ b/src/she/osx/view.mm @@ -302,7 +302,8 @@ bool is_key_pressed(KeyScancode scancode) - (void)handleMouseDown:(NSEvent*)event { Event ev; - ev.setType(Event::MouseDown); + ev.setType(event.clickCount == 2 ? Event::MouseDoubleClick: + Event::MouseDown); ev.setPosition(get_local_mouse_pos(self, event)); ev.setButton(get_mouse_buttons(event)); ev.setModifiers(get_modifiers_from_nsevent(event)); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

