diff --git a/src/editor/components/seSelect.js b/src/editor/components/seSelect.js index d1fc629f..a8833523 100644 --- a/src/editor/components/seSelect.js +++ b/src/editor/components/seSelect.js @@ -130,6 +130,21 @@ export class SeSelect extends HTMLElement { set height (value) { this.setAttribute('height', value); } + /** + * @function get + * @returns {any} + */ + get value () { + return this.$select.value; + } + + /** + * @function set + * @returns {void} + */ + set value (value) { + this.$select.value = value; + } /** * @function connectedCallback * @returns {void} diff --git a/src/editor/svgedit.css b/src/editor/svgedit.css index 212e58ac..18b3a95d 100644 --- a/src/editor/svgedit.css +++ b/src/editor/svgedit.css @@ -329,7 +329,11 @@ hr { margin-bottom: 8px; } - +#zoom { + color: var(--text-color); + background-color: var(--main-bg-color); + border: none; +} /*—————————————————————————————*/ diff --git a/src/svgcanvas/utilities.js b/src/svgcanvas/utilities.js index d068d5a7..d63bab24 100644 --- a/src/svgcanvas/utilities.js +++ b/src/svgcanvas/utilities.js @@ -1049,7 +1049,7 @@ export const getStrokedBBox = function (elems, addSVGElementFromJson, pathAction }); // This shouldn't ever happen... - if (fullBb === undefined) { return null; } + if (!fullBb) { return null; } // fullBb doesn't include the stoke, so this does no good! // if (elems.length == 1) return fullBb;