mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
overlay onAction move to control.
This commit is contained in:
parent
3180102006
commit
6f18bde058
@ -35,7 +35,6 @@
|
||||
:inactiveCursors="state.settings.inactive_cursors && session.profile.sends_inactive_cursor"
|
||||
@updateKeyboardModifiers="updateKeyboardModifiers($event)"
|
||||
@uploadDrop="uploadDrop($event)"
|
||||
@onAction="control.emit('overlay.' + $event.action, $event.target)"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -5,8 +5,8 @@
|
||||
ref="textarea"
|
||||
class="neko-overlay"
|
||||
:style="{ cursor }"
|
||||
@click.stop.prevent="$emit('onAction', { action: 'click', target: $event })"
|
||||
@contextmenu.stop.prevent="$emit('onAction', { action: 'contextmenu', target: $event })"
|
||||
@click.stop.prevent="control.emit('overlay.click', $event)"
|
||||
@contextmenu.stop.prevent="control.emit('overlay.contextmenu', $event)"
|
||||
@input.stop.prevent="onInput"
|
||||
@wheel.stop.prevent="onWheel"
|
||||
@mousemove.stop.prevent="onMouseMove"
|
||||
|
Loading…
Reference in New Issue
Block a user