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/shapes/Image.js

    rd565449 r0c6b92a  
    7979    }
    8080    _hitFunc(context) {
    81         var width = this.width(), height = this.height(), cornerRadius = this.cornerRadius();
     81        const width = this.width(), height = this.height(), cornerRadius = this.cornerRadius();
    8282        context.beginPath();
    8383        if (!cornerRadius) {
     
    9999    }
    100100    static fromURL(url, callback, onError = null) {
    101         var img = Util_1.Util.createImageElement();
     101        const img = Util_1.Util.createImageElement();
    102102        img.onload = function () {
    103             var image = new Image({
     103            const image = new Image({
    104104                image: img,
    105105            });
Note: See TracChangeset for help on using the changeset viewer.