mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 10:48:15 +01:00
TableMarks::web_shifted lets the host report which palette colors are web-shifted. When it is set, the Color Table shows Shift to Web Palette for colors that are not web-shifted and Unshift Colors for ones that are; a mixed selection shows both, and Unshift sends only the web-shifted colors, so a hand-picked color in the selection stays as it is. A host that leaves it None keeps both buttons as before. When the focused Shift or Unshift button goes away, focus moves to the remaining web action, or to the Color Table menu. The dialog reads focus through runtime::focus, presses through the pointer frame and keys through the input hook's record. This brings back #3855, reverted in #3886, without egui memory or raw key reads in save_for_web/options.rs.