client/js/renderer/scene.js
changeset 453 04b7d46e9d67
parent 452 96f84344a70e
child 455 18b9be54174d
equal deleted inserted replaced
452:96f84344a70e 453:04b7d46e9d67
    81         _lastTapY = 0;
    81         _lastTapY = 0;
    82 
    82 
    83         this.image_cache = {};
    83         this.image_cache = {};
    84         this.icon_cache = {};
    84         this.icon_cache = {};
    85 
    85 
    86         ['edit', 'remove', 'hide', 'link', 'enlarge', 'shrink', 'revert' ].forEach(function(imgname) {
    86         ['edit', 'remove', 'hide', 'show', 'link', 'enlarge', 'shrink', 'revert' ].forEach(function(imgname) {
    87             var img = new Image();
    87             var img = new Image();
    88             img.src = _renkan.options.static_url + 'img/' + imgname + '.png';
    88             img.src = _renkan.options.static_url + 'img/' + imgname + '.png';
    89             _this.icon_cache[imgname] = img;
    89             _this.icon_cache[imgname] = img;
    90         });
    90         });
    91 
    91