iOS:fix Slider and rotation
This commit is contained in:
@@ -105,7 +105,7 @@ export function slider(config: ISlider) {
|
||||
|
||||
export function slideItem(item: View | View[], config?: ISlideItem) {
|
||||
return (new SlideItem).also((it) => {
|
||||
it.layoutConfig = layoutConfig().fit()
|
||||
it.layoutConfig = layoutConfig().most()
|
||||
if (item instanceof View) {
|
||||
it.addChild(item)
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user