Added Replacing morphshapes (currently only same shape for start/end)

Fixed miterLimitFactor is FIXED8 value in MORPHLINESTYLE2
This commit is contained in:
Jindra Petřík
2023-10-22 14:49:17 +02:00
parent 194e358740
commit 247b1c17a4
27 changed files with 506 additions and 87 deletions

View File

@@ -826,7 +826,11 @@ public class Main {
statusTimer.schedule(new TimerTask() {
@Override
public void run() {
if (mainFrame != null && mainFrame.getPanel().getStatusPanel().isStatusHidden()) {
if (mainFrame == null) {
return;
}
MainFrameStatusPanel sp = mainFrame.getPanel().getStatusPanel();
if (sp != null && sp.isStatusHidden()) {
long nowTime = System.currentTimeMillis();
if (nowTime > lastTimeStartWork + 5000) {
mainFrame.getPanel().showOldStatus();