mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Disable animated progress indicator for Take offer
This commit is contained in:
parent
feb88bc769
commit
daf5106e84
@ -263,7 +263,8 @@ public class TakeOfferView extends ActivatableViewAndModel<AnchorPane, TakeOffer
|
||||
addListeners();
|
||||
|
||||
if (offerAvailabilityBusyAnimation != null && !model.showPayFundsScreenDisplayed.get()) {
|
||||
offerAvailabilityBusyAnimation.play();
|
||||
// temporarily disabled due to high CPU usage (per issue #4649)
|
||||
// offerAvailabilityBusyAnimation.play();
|
||||
offerAvailabilityLabel.setVisible(true);
|
||||
offerAvailabilityLabel.setManaged(true);
|
||||
} else {
|
||||
@ -272,7 +273,8 @@ public class TakeOfferView extends ActivatableViewAndModel<AnchorPane, TakeOffer
|
||||
}
|
||||
|
||||
if (waitingForFundsBusyAnimation != null && model.isWaitingForFunds.get()) {
|
||||
waitingForFundsBusyAnimation.play();
|
||||
// temporarily disabled due to high CPU usage (per issue #4649)
|
||||
// waitingForFundsBusyAnimation.play();
|
||||
waitingForFundsLabel.setVisible(true);
|
||||
waitingForFundsLabel.setManaged(true);
|
||||
} else {
|
||||
@ -528,7 +530,8 @@ public class TakeOfferView extends ActivatableViewAndModel<AnchorPane, TakeOffer
|
||||
|
||||
cancelButton2.setVisible(true);
|
||||
|
||||
waitingForFundsBusyAnimation.play();
|
||||
// temporarily disabled due to high CPU usage (per issue #4649)
|
||||
//waitingForFundsBusyAnimation.play();
|
||||
|
||||
payFundsTitledGroupBg.setVisible(true);
|
||||
totalToPayTextField.setVisible(true);
|
||||
@ -704,7 +707,8 @@ public class TakeOfferView extends ActivatableViewAndModel<AnchorPane, TakeOffer
|
||||
});
|
||||
|
||||
isWaitingForFundsSubscription = EasyBind.subscribe(model.isWaitingForFunds, isWaitingForFunds -> {
|
||||
waitingForFundsBusyAnimation.play();
|
||||
// temporarily disabled due to high CPU usage (per issue #4649)
|
||||
// waitingForFundsBusyAnimation.play();
|
||||
waitingForFundsLabel.setVisible(isWaitingForFunds);
|
||||
waitingForFundsLabel.setManaged(isWaitingForFunds);
|
||||
});
|
||||
|
@ -433,7 +433,8 @@ public class OfferDetailsWindow extends Overlay<OfferDetailsWindow> {
|
||||
if (GUIUtil.canCreateOrTakeOfferOrShowPopup(user, navigation)) {
|
||||
button.setDisable(true);
|
||||
cancelButton.setDisable(true);
|
||||
busyAnimation.play();
|
||||
// temporarily disabled due to high CPU usage (per issue #4649)
|
||||
// busyAnimation.play();
|
||||
if (isPlaceOffer) {
|
||||
spinnerInfoLabel.setText(Res.get("createOffer.fundsBox.placeOfferSpinnerInfo"));
|
||||
placeOfferHandlerOptional.ifPresent(Runnable::run);
|
||||
|
Loading…
Reference in New Issue
Block a user