unoplatform / Uno.Gallery

The Uno Platform Gallery application
https://platform.uno/
Other
156 stars 43 forks source link

[Skia (?Other Platforms)][Neumorphic] Painted shadow is slightly off in some cases #938

Open agneszitte opened 1 year ago

agneszitte commented 1 year ago

Current behavior

The painted shadow is slightly off in some cases on Skia (other platforms need to be tested): image (chip)

notice there is a line between upper border and the hover-highlighted background

Expected behavior

image

How to reproduce it (as minimally and precisely as possible)

Current branch where it can be tested: https://github.com/unoplatform/Uno.Gallery/tree/dev/xygu/20230830/neumorphic-2nd-pass

Environment

Nuget Package: Uno.Toolkit

Package Version(s): https://www.nuget.org/packages/Uno.Toolkit/5.0.0-dev.94

Affected platform(s):

Xiaoy312 commented 1 year ago

image

if it wasnt clear, the red area should cover 100% the green area

for repro:

simple version(the bug is always visible) ```xml ```
visual state version (need to hover) ```xml ```
agneszitte commented 1 year ago

Scaling issue maybe ? @Xiaoy312 can you test other platforms when you can please?