ignore wheel on ctrl key and remove debug
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
parent
5e6b18503b
commit
ec05084d71
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ const _generate = async (endpoint, request, bb, options = {}) => {
|
|||
);
|
||||
const onwheelhandler = mouse.listen.world.onwheel.on(
|
||||
(evn, state) => {
|
||||
console.debug(evn, state);
|
||||
if (evn.evn.ctrlKey) return;
|
||||
if (!state.dream_processed && bb.contains(evn.x, evn.y)) {
|
||||
if (evn.delta < 0) nextImg();
|
||||
else prevImg();
|
||||
|
|
Loading…
Reference in a new issue