Fix button gif not disappear
This commit is contained in:
parent
76727bd28c
commit
6f7ef0a33c
@ -27,12 +27,13 @@ public class DrawHelper {
|
||||
gl.glVertex3f(0f, 0f, 1f);
|
||||
|
||||
gl.glColor3f(255f, 255f, 255f);
|
||||
for (int i = -20; i < 21; i++) {
|
||||
gl.glVertex3f(-20f, 0f, i);
|
||||
gl.glVertex3f(20f, 0f, i);
|
||||
int limit = 20;
|
||||
for (int i = -limit; i < limit + 1; i++) {
|
||||
gl.glVertex3f(-limit, 0f, i);
|
||||
gl.glVertex3f(limit, 0f, i);
|
||||
|
||||
gl.glVertex3f(i, 0, -20f);
|
||||
gl.glVertex3f(i, 0, 20f);
|
||||
gl.glVertex3f(i, 0, -limit);
|
||||
gl.glVertex3f(i, 0, limit);
|
||||
}
|
||||
gl.glEnd();
|
||||
gl.glRasterPos3f(1.1f, 0.0f, 0.0f);
|
||||
|
@ -106,8 +106,8 @@ public class Listener implements ActionListener, KeyListener, MouseWheelListener
|
||||
} else if (!parser3D.isCorrect()) {
|
||||
openDialog("Vos règles ou votre axiome ne sont pas correctement écrites, veuillez recommencer");
|
||||
} else {
|
||||
tab.submitButton2D.setIcon(staticIcon);
|
||||
tab.submitButton2D.setText("");
|
||||
tab.submitButton3D.setIcon(staticIcon);
|
||||
tab.submitButton3D.setText("");
|
||||
parserThread = new Thread(() -> {
|
||||
try {
|
||||
List<Pair<String, String>> lSystemRules = parser3D.parseRules();
|
||||
|
Loading…
Reference in New Issue
Block a user