This commit is contained in:
Azgaar 2019-10-18 23:18:02 +03:00
parent 0e308079aa
commit f7a3eafe1f
14 changed files with 212 additions and 445 deletions

View file

@ -70,20 +70,6 @@ function removeCircle() {
if (document.getElementById("brushCircle")) document.getElementById("brushCircle").remove();
}
function hideCircle() {
let circle = document.getElementById("brushCircle");
if (circle) {
circle.style.display = "none";
}
}
function showCircle() {
let circle = document.getElementById("brushCircle");
if (circle) {
circle.style.display = "";
}
}
// get browser-defined fit-content
function fitContent() {
return !window.chrome ? "-moz-max-content" : "fit-content";
@ -542,7 +528,7 @@ function changePickerSpace() {
function unfog() {
defs.select("#fog").selectAll("path").remove();
fogging.selectAll("path").remove();
fogging.attr("display", "none");
fogging.style("display", "none");
}
function getFileName(dataType) {