TestingView recalculates risk, profit, balance/equity impact, and journal metrics based on the new quantity.
Changing size changes the risk, the profit, and the drawdown of that trade. People are surprised when the journal "does not match" the original position tool, because they edited the quantity and expected the first risk figure to remain.
After a quantity change, TestingView recalculates risk, profit, balance, equity, and the journal metrics from the new size. The earlier figure was the trade before the edit. The stored figure is the trade you actually simulated.