mirror of
https://github.com/meowarex/TidaLuna-Plugins.git
synced 2026-06-18 03:43:10 +10:00
Flow Refactor
This commit is contained in:
@@ -400,8 +400,7 @@ document.addEventListener(
|
||||
const eventX = event.clientX;
|
||||
const eventY = event.clientY;
|
||||
|
||||
// Prevent default immediately if we plan to handle it
|
||||
event.preventDefault();
|
||||
// Allow native context menu by default; we'll show our custom menu only if needed
|
||||
|
||||
// Wait to see if the built-in context menu appears
|
||||
contextMenuTimeout = window.setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user