canvas-editor-engine 2.1.24 → 2.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +10 -14
- package/dist/store/storeRepository.d.ts +0 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -1473,15 +1473,7 @@ var ThroughHistoryService = function() {
|
|
1473
1473
|
}();
|
1474
1474
|
|
1475
1475
|
var AppStoreRepository = function() {
|
1476
|
-
function AppStoreRepository() {
|
1477
|
-
AppStoreRepository.repositories.push(this);
|
1478
|
-
}
|
1479
|
-
AppStoreRepository.setStore = function(storeInstanse) {
|
1480
|
-
AppStoreRepository.repositories.forEach((function(repositories) {
|
1481
|
-
repositories.store = storeInstanse;
|
1482
|
-
}));
|
1483
|
-
};
|
1484
|
-
AppStoreRepository.repositories = [];
|
1476
|
+
function AppStoreRepository() {}
|
1485
1477
|
return AppStoreRepository;
|
1486
1478
|
}();
|
1487
1479
|
|
@@ -1954,13 +1946,17 @@ var DrawService = function() {
|
|
1954
1946
|
}));
|
1955
1947
|
};
|
1956
1948
|
DrawService.prototype.updateImageStateAfterVague = function(data) {
|
1949
|
+
var _this = this;
|
1957
1950
|
var imageData = data.imageData, position = data.position, size = data.size, quality = data.quality;
|
1958
1951
|
console.log("this", this);
|
1959
|
-
|
1960
|
-
|
1961
|
-
|
1962
|
-
|
1963
|
-
|
1952
|
+
var reduce = function(quality) {
|
1953
|
+
_this.appStoreRepository.store.imageState.reduce({
|
1954
|
+
tempImageData: imageData,
|
1955
|
+
position,
|
1956
|
+
size
|
1957
|
+
}, "[Filter Vague] quality: ".concat(quality));
|
1958
|
+
};
|
1959
|
+
reduce(quality);
|
1964
1960
|
};
|
1965
1961
|
DrawService.prototype.getFilterArgs = function(useStore, options) {
|
1966
1962
|
var _a, _b;
|