Draw the halo without filtering whole layers, so panning keeps up
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
The halo over backgrounds (#220) put three drop-shadow filters on the axis and relationship-arc layers, which fill the stage, so both were drawn again on every frame as the view moved. The axis's baseline and tick marks now take box-shadows, and each arc a wider halo-colored stroke beneath it, shown only over backgrounds. Markers and stems keep their filter, which costs little and follows markers' shapes. Panning and zooming the Marine Corps timeline (1900-1950) in Chromium with 4x CPU throttling: mean frame 100ms -> 63ms, median 67ms -> 33ms, against 55ms and 17ms with no image plugins. Fixes #232. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/9f2a38d057fa8329877aa65dfe8515d2f88b850e
Related
Open Draw the halo without filtering whole layers, so panning keeps up in the timeline