fix rounding::zero
This commit is contained in:
parent
cd6b538881
commit
a5cf8679c3
@ -42,7 +42,7 @@ impl Widget for QrCodeWidget<'_> {
|
|||||||
|
|
||||||
painter.rect(
|
painter.rect(
|
||||||
response.rect,
|
response.rect,
|
||||||
Rounding::none(),
|
Rounding::ZERO,
|
||||||
Color32::WHITE,
|
Color32::WHITE,
|
||||||
Stroke::NONE,
|
Stroke::NONE,
|
||||||
);
|
);
|
||||||
@ -55,7 +55,7 @@ impl Widget for QrCodeWidget<'_> {
|
|||||||
if matches!(c, Color::Dark) {
|
if matches!(c, Color::Dark) {
|
||||||
painter.rect(
|
painter.rect(
|
||||||
Rect::from_min_max(c_start, c_end),
|
Rect::from_min_max(c_start, c_end),
|
||||||
Rounding::none(),
|
Rounding::ZERO,
|
||||||
match c {
|
match c {
|
||||||
Color::Light => Color32::WHITE,
|
Color::Light => Color32::WHITE,
|
||||||
Color::Dark => Color32::BLACK,
|
Color::Dark => Color32::BLACK,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user