mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 13:15:12 +00:00
Color Wheel: the contrast cache keys on tool_paints, which replaced bucket_paints
#9100 replaced Session::bucket_paints with tool_paints(stroke), and #7718's contrast cache key still called bucket_paints, so main stopped compiling. The key now records whether the active tool paints with the proxy in front, the paint color.contrast measures.
This commit is contained in:
@@ -927,7 +927,7 @@ fn ratio_answer(app: &mut VectorcraftApp, panel: &mut WheelUi, pinned: Option<Co
|
||||
black_on_screen: app.session.prefs.black_on_screen.clone(),
|
||||
under: under(),
|
||||
mesh_points: app.session.fill_mesh_points(),
|
||||
bucket: app.session.bucket_paints(),
|
||||
bucket: app.session.tool_paints(!app.session.fill_active),
|
||||
};
|
||||
match &panel.ratio {
|
||||
Some((k, r)) if *k == key => r.clone(),
|
||||
|
||||
Reference in New Issue
Block a user