Improve the pause button screen workflow (#216)
This commit is contained in:
@@ -138,6 +138,9 @@ public class Client {
|
||||
while (this.running == true) {
|
||||
this.renderingJob = null;
|
||||
synchronized (this) {
|
||||
if (this.suspended) {
|
||||
this.gui.status("Client paused", true);
|
||||
}
|
||||
while (this.suspended) {
|
||||
wait();
|
||||
}
|
||||
@@ -431,6 +434,7 @@ public class Client {
|
||||
|
||||
public void suspend() {
|
||||
suspended = true;
|
||||
this.gui.status("Client will pause when the current job finishes", true);
|
||||
}
|
||||
|
||||
public synchronized void resume() {
|
||||
|
||||
Reference in New Issue
Block a user