Browse Source

无JIRA absolute支持inset shorthand

es6
Dailer 3 years ago
parent
commit
ee125f48db
  1. 2
      src/core/wrapper/layout/layout.absolute.js

2
src/core/wrapper/layout/layout.absolute.js

@ -42,7 +42,7 @@ BI.AbsoluteLayout = BI.inherit(BI.Layout, {
break
case 4:
default:
offsets = {top: insets[0], right: insets[0], bottom: insets[0], left: insets[0]}
offsets = {top: insets[0], right: insets[1], bottom: insets[2], left: insets[3]}
break;
}
}

Loading…
Cancel
Save