Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/konva/lib/PointerEvents.js

    rd565449 r0c6b92a  
    11"use strict";
    22Object.defineProperty(exports, "__esModule", { value: true });
    3 exports.releaseCapture = exports.setPointerCapture = exports.hasPointerCapture = exports.createEvent = exports.getCapturedShape = void 0;
     3exports.getCapturedShape = getCapturedShape;
     4exports.createEvent = createEvent;
     5exports.hasPointerCapture = hasPointerCapture;
     6exports.setPointerCapture = setPointerCapture;
     7exports.releaseCapture = releaseCapture;
    48const Global_1 = require("./Global");
    59const Captures = new Map();
     
    812    return Captures.get(pointerId);
    913}
    10 exports.getCapturedShape = getCapturedShape;
    1114function createEvent(evt) {
    1215    return {
     
    1518    };
    1619}
    17 exports.createEvent = createEvent;
    1820function hasPointerCapture(pointerId, shape) {
    1921    return Captures.get(pointerId) === shape;
    2022}
    21 exports.hasPointerCapture = hasPointerCapture;
    2223function setPointerCapture(pointerId, shape) {
    2324    releaseCapture(pointerId);
     
    3031    }
    3132}
    32 exports.setPointerCapture = setPointerCapture;
    3333function releaseCapture(pointerId, target) {
    3434    const shape = Captures.get(pointerId);
     
    4343    }
    4444}
    45 exports.releaseCapture = releaseCapture;
Note: See TracChangeset for help on using the changeset viewer.