fixed pen hsv-cache invalidation for clones

pull/89/head
jmoenig 2019-01-22 13:38:00 +01:00
rodzic 21229a3de1
commit c7f0d9d674
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -35,6 +35,7 @@
* updated iteration-composition library blocks with new loop-arrow symbols
* updated list-utilities library blocks with new loop-arrow symbols
* Threads: cleaned up CSV parser
* Objects: fixed pen hsv-cache invalidation for clones
### 2019-01-21
* let users make C-shape slots with loop arrow symbols. Sigh.

Wyświetl plik

@ -1419,6 +1419,7 @@ SpriteMorph.prototype.fullCopy = function (forClone) {
c.color = this.color.copy();
c.blocksCache = {};
c.paletteCache = {};
c.cachedHSV = c.color.hsv();
arr = [];
this.inheritedAttributes.forEach(function (att) {
arr.push(att);