You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a value of 16.7% as the inset for both foreground and background, it will cause parts outside of the background to be revealed during the sliding effect, making it appear as if the sliding has exceeded the boundaries.
This is an example image(source) being used. Theoretically, the foreground icon should be drawn within a range of 66dp or 72dp, rather than being drawn within the entire image range, as some parts will be clipped.
By limiting the drawing range to that of the example image, icons of various shapes can be well adapted without being cropped.
If both foreground and background use inset (25% for emphasis), it will result in the appearance of black edges.
Would it be more feasible if only the background uses inset? Or should the drawing range be directly reduced when designing icons?
This is a preview of the sliding effect, where you can see black edges appearing around the example icons.
The text was updated successfully, but these errors were encountered:
capacitor-assets/src/platforms/android/index.ts
Line 365 in 6b2a5d4
When using a value of 16.7% as the inset for both foreground and background, it will cause parts outside of the background to be revealed during the sliding effect, making it appear as if the sliding has exceeded the boundaries.
This is an example image(source) being used. Theoretically, the foreground icon should be drawn within a range of 66dp or 72dp, rather than being drawn within the entire image range, as some parts will be clipped.
By limiting the drawing range to that of the example image, icons of various shapes can be well adapted without being cropped.
If both foreground and background use inset (25% for emphasis), it will result in the appearance of black edges.
Would it be more feasible if only the background uses inset? Or should the drawing range be directly reduced when designing icons?
This is a preview of the sliding effect, where you can see black edges appearing around the example icons.
The text was updated successfully, but these errors were encountered: