fix visual issues

master
JFH 2021-09-08 22:33:13 +02:00
parent 3b6af37f47
commit e8d59904f7
3 changed files with 21 additions and 2 deletions

View File

@ -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}

View File

@ -329,7 +329,11 @@ hr {
margin-bottom: 8px;
}
#zoom {
color: var(--text-color);
background-color: var(--main-bg-color);
border: none;
}
/*—————————————————————————————*/

View File

@ -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;