@aurigma/design-atoms
Advanced tools
Comparing version 6.9.0 to 6.9.1
# Design Atoms Framework Changelog | ||
## [6.9.0] - 2021-04-12 | ||
### Fixed | ||
- Using the `convertItemToPlaceholder` command for `ImageItem`. | ||
- Applying the fill color to empty text items. | ||
- A problem when image placeholders could move on the canvas when trying to drag the **Done** button. | ||
- Some problems with manipulating items on the canvas. | ||
### Changed | ||
- `ViolationService` has been moved from the **design-editor** package to **design-atoms**. | ||
## [6.8.0] - 2021-04-02 | ||
@@ -172,3 +183,3 @@ ### Fixed | ||
### Changed | ||
- The object model has been separated from the DesignAtoms package. Now, you must additionally install **@aurigma/design-atoms-model** from npm and **Aurigma.DesignAtoms.Model** from NuGet. In your .ts code, replace imports `@aurigma/design-atoms/Model/<class>` with `@aurigma/design-atoms-model/<class>`. | ||
- The object model has been separated from the **DesignAtoms** package. Now, you must additionally install **@aurigma/design-atoms-model** from npm and **Aurigma.DesignAtoms.Model** from NuGet. In your .ts code, replace imports `@aurigma/design-atoms/Model/<class>` with `@aurigma/design-atoms-model/<class>`. | ||
@@ -175,0 +186,0 @@ ### Fixed |
{ | ||
"version": "6.9.0", | ||
"version": "6.9.1", | ||
"name": "@aurigma/design-atoms", | ||
@@ -22,3 +22,3 @@ "license": "SEE LICENSE IN License.md", | ||
"dependencies": { | ||
"@aurigma/design-atoms-model": "6.5.1", | ||
"@aurigma/design-atoms-model": "6.5.2", | ||
"@aurigma/text-whizz": "^1.2.144", | ||
@@ -25,0 +25,0 @@ "clone": "2.1.1", |
@@ -20,5 +20,6 @@ //import * as Utils from "./Utils"; | ||
throw new ArgumentException("Wrong \"" + (!Number.isInteger(pixelWidth) ? pixelWidth : pixelHeight) + "\" type!"); | ||
var handler = "/img"; | ||
if (sourceId.endsWith(".svg") && !squared && !Environment.IsFirefox() && !Environment.IsIE()) | ||
return canvas.handlerUrl + "/svg?f=" + encodeURIComponent(sourceId); | ||
var url = canvas.handlerUrl + "/img" + | ||
handler = "/svg"; | ||
var url = canvas.handlerUrl + handler + | ||
"?f=" + encodeURIComponent(sourceId) + | ||
@@ -25,0 +26,0 @@ "&w=" + encodeURIComponent(pixelWidth.toString()) + |
Sorry, the diff of this file is not supported yet
3598662
47822