mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Hide percentage value in busy animation
This commit is contained in:
parent
7f0439a028
commit
c969228578
2 changed files with 6 additions and 0 deletions
|
@ -278,6 +278,10 @@ bg color of non edit textFields: fafafa
|
||||||
-fx-stroke: -bs-rd-green;
|
-fx-stroke: -bs-rd-green;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.busyanimation .text.percentage {
|
||||||
|
-fx-fill: null;
|
||||||
|
}
|
||||||
|
|
||||||
.jfx-button, .action-button {
|
.jfx-button, .action-button {
|
||||||
-fx-background-color: -bs-rd-grey-light;
|
-fx-background-color: -bs-rd-grey-light;
|
||||||
-fx-text-fill: -bs-rd-font-dark-grey;
|
-fx-text-fill: -bs-rd-font-dark-grey;
|
||||||
|
|
|
@ -31,6 +31,7 @@ public class BusyAnimation extends JFXSpinner {
|
||||||
}
|
}
|
||||||
|
|
||||||
public BusyAnimation(boolean isRunning) {
|
public BusyAnimation(boolean isRunning) {
|
||||||
|
getStyleClass().add("busyanimation");
|
||||||
isRunningProperty.set(isRunning);
|
isRunningProperty.set(isRunning);
|
||||||
|
|
||||||
updateVisibility();
|
updateVisibility();
|
||||||
|
@ -38,6 +39,7 @@ public class BusyAnimation extends JFXSpinner {
|
||||||
|
|
||||||
public void play() {
|
public void play() {
|
||||||
isRunningProperty.set(true);
|
isRunningProperty.set(true);
|
||||||
|
|
||||||
setProgress(-1);
|
setProgress(-1);
|
||||||
updateVisibility();
|
updateVisibility();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue