If calculated dot diameter is smaller than minDotSize, set to minDotSize
This commit is contained in:
parent
36928c1eb9
commit
0ccd0643f3
|
@ -1313,6 +1313,9 @@ void draw () {
|
||||||
|
|
||||||
if (v < cutoffScaled) {
|
if (v < cutoffScaled) {
|
||||||
dotDiam = (config.maxDotSize - v * dotScale) * config.canvasScalar;
|
dotDiam = (config.maxDotSize - v * dotScale) * config.canvasScalar;
|
||||||
|
if (dotDiam < config.minDotSize) {
|
||||||
|
dotDiam = config.minDotSize;
|
||||||
|
}
|
||||||
canvas.ellipse(px, py, dotDiam, dotDiam);
|
canvas.ellipse(px, py, dotDiam, dotDiam);
|
||||||
if (config.fill) {
|
if (config.fill) {
|
||||||
hatchLines = fillCircle(px, py, dotDiam, 45.0, config.line * config.canvasScalar);
|
hatchLines = fillCircle(px, py, dotDiam, 45.0, config.line * config.canvasScalar);
|
||||||
|
|
Loading…
Reference in New Issue