mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Hide advanced options group immediately instead of animation
This commit is contained in:
parent
52af509290
commit
aeaee6b180
1 changed files with 4 additions and 6 deletions
|
@ -404,13 +404,11 @@ public abstract class MutableOfferView<M extends MutableOfferViewModel> extends
|
||||||
tradeFeeInBtcToggle.setMouseTransparent(true);
|
tradeFeeInBtcToggle.setMouseTransparent(true);
|
||||||
tradeFeeInBsqToggle.setMouseTransparent(true);
|
tradeFeeInBsqToggle.setMouseTransparent(true);
|
||||||
|
|
||||||
int delay = 500;
|
setDepositTitledGroupBg.setVisible(false);
|
||||||
int diff = 100;
|
setDepositTitledGroupBg.setManaged(false);
|
||||||
|
|
||||||
transitions.fadeOutAndRemove(setDepositTitledGroupBg, delay, (event) -> {
|
advancedOptionsBox.setVisible(false);
|
||||||
});
|
advancedOptionsBox.setManaged(false);
|
||||||
delay -= diff;
|
|
||||||
transitions.fadeOutAndRemove(advancedOptionsBox, delay);
|
|
||||||
|
|
||||||
model.onShowPayFundsScreen();
|
model.onShowPayFundsScreen();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue