<p><b>@chimp1984</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/bisq-network/bisq/pull/3827#discussion_r362684649">desktop/src/main/java/bisq/desktop/main/overlays/windows/DisputeSummaryWindow.java</a>:</p>
<pre style='color:#555'>> - Coin sellerAmount;
- if (inputTextField == buyerPayoutAmountInputTextField) {
- buyerAmount = enteredAmount;
- sellerAmount = counterPartAsCoin;
- Coin sellerAmountFromField = ParsingUtils.parseToCoin(sellerPayoutAmountInputTextField.getText(), formatter);
- Coin totalAmountFromFields = enteredAmount.add(sellerAmountFromField);
- // RefundAgent can enter less then available
- if (getDisputeManager(dispute) instanceof MediationManager ||
- totalAmountFromFields.compareTo(available) > 0) {
- sellerPayoutAmountInputTextField.setText(formattedCounterPartAmount);
- } else {
- sellerAmount = sellerAmountFromField;
+ private void applyCustomAmounts(InputTextField inputTextField, boolean oldFocusValue, boolean newFocusValue) {
+ // We only apply adjustments at focus out, otherwise we cannot enter certain values if we update at each
+ // keystroke.
+ if (oldFocusValue && !newFocusValue) {
</pre>
<p>Applied</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/3827?email_source=notifications&email_token=AJFFTNRBEXE6WIGWVUIHAD3Q32GXPA5CNFSM4J6WVPWKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQSFBFY#discussion_r362684649">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNXV36SLKTE6V6QM5Q3Q32GXPANCNFSM4J6WVPWA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNQ5ZC7SEB23NRMBAPLQ32GXPA5CNFSM4J6WVPWKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQSFBFY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/3827?email_source=notifications\u0026email_token=AJFFTNRBEXE6WIGWVUIHAD3Q32GXPA5CNFSM4J6WVPWKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQSFBFY#discussion_r362684649",
"url": "https://github.com/bisq-network/bisq/pull/3827?email_source=notifications\u0026email_token=AJFFTNRBEXE6WIGWVUIHAD3Q32GXPA5CNFSM4J6WVPWKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQSFBFY#discussion_r362684649",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>