Compare commits

1 Commits

Author SHA1 Message Date
Libkyy
ef4988785f fixed button dups 2022-06-05 20:27:00 +02:00
2 changed files with 8 additions and 0 deletions

7
.idea/discord.xml generated Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DiscordProjectSettings">
<option name="show" value="PROJECT_FILES" />
<option name="description" value="" />
</component>
</project>

View File

@@ -131,6 +131,7 @@ public class DrawingBoard extends Panel implements DrawingEngine
public void setShapeButtons(ArrayList<Button> buttons)
{
ShapeButtons.removeAll();
for (Button button : buttons)
{
ShapeButtons.add(button);