mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Marks display correctly on the canvas, no double ups or anything like that left.
#[issue10]
This commit is contained in:
@@ -255,7 +255,7 @@ public class CanvasController {
|
||||
|
||||
private void initializeMarks() {
|
||||
Map<Integer, Mark> allMarks = StreamParser.getXmlObject().getRaceXML().getCompoundMarks();
|
||||
|
||||
System.out.println(allMarks);
|
||||
for (Mark mark : allMarks.values()) {
|
||||
if (mark.getMarkType() == MarkType.SINGLE_MARK) {
|
||||
SingleMark sMark = (SingleMark) mark;
|
||||
@@ -270,6 +270,7 @@ public class CanvasController {
|
||||
}
|
||||
}
|
||||
group.getChildren().addAll(markGroups);
|
||||
System.out.println(group.getChildren());
|
||||
}
|
||||
|
||||
class ResizableCanvas extends Canvas {
|
||||
|
||||
Reference in New Issue
Block a user