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
In our icons metadata (the big JSON) we should add info which icons must be mirrored to RTL and which not. Add a new property, f.e. called m from mirror, and only set it to true for some of the icons (to save space). Use it for whichever are fewer, f.e. m: true or m: false.
Then use this property inside Icon.js/hbs in order to enforce the correct mirror behavior.
Create a test section in Icon.html for that
The text was updated successfully, but these errors were encountered:
Currently all icons are mirrored in RTL, but some of the icons should not be mirrored in RTL. The best example is the "accept" icon (checkmark) which does not make sense when mirrored. Now we keep info as "ltr" field in the SAP-Icons.json, which means an icon should remain as it is in RTL, or in other words it is always LTR. We can call the field differently in the SVGRegistry if we want - suppressMirroring, noMirror. I named it "ltr" everywhere for now.
FIXES: #1831
In our icons metadata (the big JSON) we should add info which icons must be mirrored to RTL and which not. Add a new property, f.e. called
m
frommirror
, and only set it to true for some of the icons (to save space). Use it for whichever are fewer, f.e.m: true
orm: false
.Then use this property inside
Icon.js/hbs
in order to enforce the correct mirror behavior.Create a test section in
Icon.html
for thatThe text was updated successfully, but these errors were encountered: