mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-01 11:32:08 +01:00
Use click instead of mouse down
This commit is contained in:
@@ -431,7 +431,7 @@ class InlineImageView {
|
||||
c.removeClass('zoom-out').addClass('zoom-in');
|
||||
}
|
||||
});
|
||||
$(container).on(DOM.EventType.MOUSE_DOWN, (e: MouseEvent) => {
|
||||
$(container).on(DOM.EventType.CLICK, (e: MouseEvent) => {
|
||||
// left click
|
||||
if (e.button === 0) {
|
||||
if (scale === 'fit') {
|
||||
|
||||
Reference in New Issue
Block a user