From: Daniel Kirschten Date: Sat, 12 Oct 2019 14:15:17 +0000 (+0200) Subject: Made FixedOutput smaller X-Git-Url: https://mograsim.net/gitweb/?a=commitdiff_plain;h=13e03ecec5e28dab69820e5ec4db5c1a2c5a3c73;p=Mograsim.git Made FixedOutput smaller --- diff --git a/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/Am2900.json b/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/Am2900.json index b8eb665f..ae825b13 100644 --- a/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/Am2900.json +++ b/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/Am2900.json @@ -120,7 +120,7 @@ "id": "FixedOutput", "name": "FixedOutput#0", "pos": { - "x": 540.0, + "x": 555.0, "y": 270.0 }, "params": { @@ -133,8 +133,8 @@ "id": "FixedOutput", "name": "FixedOutput#1", "pos": { - "x": 635.0, - "y": 380.0 + "x": 645.0, + "y": 390.0 }, "params": { "bits": [ @@ -146,8 +146,8 @@ "id": "FixedOutput", "name": "FixedOutput#2", "pos": { - "x": 370.0, - "y": 505.0 + "x": 385.0, + "y": 510.0 }, "params": { "bits": [ @@ -172,7 +172,7 @@ "id": "FixedOutput", "name": "FixedOutput#4", "pos": { - "x": 420.0, + "x": 430.0, "y": 570.0 }, "params": { @@ -185,8 +185,8 @@ "id": "FixedOutput", "name": "FixedOutput#5", "pos": { - "x": 475.0, - "y": 505.0 + "x": 485.0, + "y": 510.0 }, "params": { "bits": [ @@ -198,8 +198,8 @@ "id": "FixedOutput", "name": "FixedOutput#6", "pos": { - "x": 535.0, - "y": 370.0 + "x": 545.0, + "y": 380.0 }, "params": { "bits": [ @@ -211,8 +211,8 @@ "id": "FixedOutput", "name": "FixedOutput#7", "pos": { - "x": 260.0, - "y": 370.0 + "x": 270.0, + "y": 380.0 }, "params": { "bits": [ @@ -2173,7 +2173,7 @@ "path": [ { "x": 660.0, - "y": 390.0 + "y": 395.0 } ] }, @@ -2201,12 +2201,12 @@ "name": "unnamedWire#37", "path": [ { - "x": 480.0, + "x": 470.0, "y": 540.0 }, { - "x": 480.0, - "y": 570.0 + "x": 470.0, + "y": 565.0 } ] }, @@ -2223,7 +2223,7 @@ "path": [ { "x": 445.0, - "y": 580.0 + "y": 575.0 } ] }, @@ -2252,7 +2252,7 @@ "path": [ { "x": 560.0, - "y": 380.0 + "y": 385.0 } ] }, @@ -2430,7 +2430,7 @@ "path": [ { "x": 570.0, - "y": 280.0 + "y": 275.0 } ] }, @@ -3705,7 +3705,7 @@ "path": [ { "x": 285.0, - "y": 380.0 + "y": 385.0 } ] }, diff --git a/plugins/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelFixedOutput.java b/plugins/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelFixedOutput.java index 9a62cadb..1d704583 100644 --- a/plugins/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelFixedOutput.java +++ b/plugins/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelFixedOutput.java @@ -23,8 +23,8 @@ import net.mograsim.preferences.Preferences; public class ModelFixedOutput extends ModelComponent { - private static final double width = 20; - private static final double height = 20; + private static final double width = 10; + private static final double height = 10; private static final double fontHeight = 5; private static final double textMargin = 0.5;