mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
epaint: Fix lint check
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user