1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

epaint: Fix lint check

This commit is contained in:
Varphone Wong
2024-07-17 17:01:19 +08:00
parent 3c322ba24e
commit 46cca12a2c

View File

@@ -1506,7 +1506,7 @@ impl Tessellator {
let stroke_color = match stroke.color { let stroke_color = match stroke.color {
ColorMode::Solid(color) => color, ColorMode::Solid(color) => color,
ColorMode::UV(callback) => { ColorMode::UV(callback) => {
// TODO: Currently, CircleShape does not support PathStroke. // TODO(emilk): Currently, CircleShape does not support PathStroke.
// As a workaround, the stroke color is set to the center color. // As a workaround, the stroke color is set to the center color.
// This needs to be revisited once CircleShape gains PathStroke support. // This needs to be revisited once CircleShape gains PathStroke support.
callback(Rect::from_center_size(center, Vec2::splat(radius)), center) callback(Rect::from_center_size(center, Vec2::splat(radius)), center)