Files
photocraft/crates/ops
dotCooCoo 7525331f6a History: trimming to the memory budget after Clear History keeps the History Brush source
Clear History moves the History Brush source into the cleared states'
record and leaves History::brush_source empty. While Clear History can
be undone, trim_with trims the cleared states, but it looked the
pinned source up in the emptied field. The source state was then
dropped like any other old state, and after Edit > Undo Clear History
the History Brush had no source.

trim_with now takes the source from Cleared::brush_source while Clear
History can be undone, and from History::brush_source otherwise, as
History::held picks the cleared or the live states.
2026-10-22 14:13:28 -07:00
..