We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e57133e commit 7472c50Copy full SHA for 7472c50
modules/gpad/TCanvasPainter.mjs
@@ -619,7 +619,7 @@ class TCanvasPainter extends TPadPainter {
619
620
/** @summary Select active pad on the canvas */
621
selectActivePad(pad_painter, obj_painter, click_pos) {
622
- if ((this.snapid === undefined) || !pad_painter) return; // only interactive canvas
+ if (!this.snapid || !pad_painter) return; // only interactive canvas
623
624
let arg = null, ischanged = false;
625
0 commit comments