cv-frontend-vue icon indicating copy to clipboard operation
cv-frontend-vue copied to clipboard

changed the embedListeners.js to embedListeners.ts

Open blazethunderstorm opened this issue 1 month ago • 3 comments

Fixes #661

Describe the changes you have made in this PR -

All changes: added missing simulationArea properties (mouseRawX, mouseRawY, mouseDownRawX, mouseDownRawY, mouseXf, mouseYf), declared globalScope, DPR, width, height, typed event parameters/DOM elements, and updated prompt() to check for null and convert input to number with Number(), keeping all original logic intact.

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Summary by CodeRabbit

  • Bug Fixes
    • Improved input validation and error handling to prevent invalid values from being processed.

blazethunderstorm avatar Oct 20 '25 13:10 blazethunderstorm