修复频谱图bug

This commit is contained in:
2026-08-13 00:51:03 +08:00
parent 05263cd506
commit 75bb281d4e
4 changed files with 47 additions and 5 deletions
+1 -1
View File
@@ -490,7 +490,7 @@ void Spectrum_Control::paint_partition(Painter& painter, int partition_index) {
const auto& partition = output.partitions[static_cast<std::size_t>(partition_index)];
const auto view = render_state_view();
const auto& state = render_properties(view);
painter.clip(partition.clip);
const auto clip = painter.scoped_clip(partition.clip);
paint_curve(painter, partition.maximum, state.max_pen, state.max_brush);
paint_curve(painter, partition.minimum, state.min_pen, state.min_brush);
paint_curve(painter, partition.current, state.current_pen, state.current_brush);