Open ghost opened 7 years ago
Trackpad scrolling, by setting button: scroll_up/down in a .sublime-mousemap file, doesn't seem to work on OS X.
button: scroll_up/down
.sublime-mousemap
Reference: TerminalView discussion.
Duh.
Nothing happens, no errors on the console.
Different modifiers don't work but I found it's somehow an OS X limitation. I unzipped ST's Default.sublime-package and found the following:
Default.sublime-package
Default (Linux).sublime-mousemap ... // Change font size with ctrl+scroll wheel { "button": "scroll_down", "modifiers": ["ctrl"], "command": "decrease_font_size" }, { "button": "scroll_up", "modifiers": ["ctrl"], "command": "increase_font_size" }, ...
Default (Windows).sublime-mousemap ... // Switch files by holding down button 2, and using the scroll wheel { "button": "scroll_down", "modifiers": ["button2"], "command": "next_view" }, { "button": "scroll_up", "modifiers": ["button2"], "command": "prev_view" }, // Change font size with ctrl+scroll wheel { "button": "scroll_down", "modifiers": ["ctrl"], "command": "decrease_font_size" }, { "button": "scroll_up", "modifiers": ["ctrl"], "command": "increase_font_size" }, ...
For some reason, Default (OSX).sublime-mousemap doesn't contain the scroll_up or scroll_down keys.
Default (OSX).sublime-mousemap
scroll_up
scroll_down
Also tried
[ { "button": "scroll_up", "modifiers": ["alt"], "command": "increase_font_size" }, { "button": "scroll_down", "modifiers": ["alt"], "command": "decrease_font_size" } ]
and confirmed that it doesn't work for changing font size either, so my guess is that this is an issue with ST and not TerminalView.
UPDATE: Some guys confirm it doesn't work with a trackpad on the ST Forum.
Any update here?
Ping https://github.com/Wramberg/TerminalView/issues/92#issuecomment-404846926 Any chance this could get fixed anytime soon?
Ping
Summary
Trackpad scrolling, by setting
button: scroll_up/down
in a.sublime-mousemap
file, doesn't seem to work on OS X.Reference: TerminalView discussion.
Expected behavior
Duh.
Actual behavior
Nothing happens, no errors on the console.
Steps to reproduce
Different modifiers don't work but I found it's somehow an OS X limitation. I unzipped ST's
Default.sublime-package
and found the following:For some reason,
Default (OSX).sublime-mousemap
doesn't contain thescroll_up
orscroll_down
keys.Also tried
and confirmed that it doesn't work for changing font size either, so my guess is that this is an issue with ST and not TerminalView.
UPDATE: Some guys confirm it doesn't work with a trackpad on the ST Forum.
Environment