Before the «Update Qty’s» button is clicked:

After the «Update Qty’s» button is clicked:

Before the «Update Qty’s» button is clicked:

After the «Update Qty’s» button is clicked:

See also:
setAdjustmentPositive() and setAdjustmentNegative() methods of the \Magento\Sales\Model\Order\Creditmemo class wrongly use the \Magento\Sales\Model\Order's getGrandTotal() method instead of the getBaseGrandTotal() when an adjusment is in percent, so it lead to a wrong calculation result