mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
import { LayoutBase } from '../layout-base';
|
||||
import { CSSType } from '../../core/view';
|
||||
import { Property, makeParser, makeValidator } from '../../core/properties';
|
||||
import { isIOS } from '../../../platform';
|
||||
|
||||
@CSSType('StackLayout')
|
||||
export class StackLayoutBase extends LayoutBase implements StackLayoutDefinition {
|
||||
@@ -16,7 +15,7 @@ const converter = makeParser<Orientation>(makeValidator('horizontal', 'vertical'
|
||||
export const orientationProperty = new Property<StackLayoutBase, Orientation>({
|
||||
name: 'orientation',
|
||||
defaultValue: 'vertical',
|
||||
affectsLayout: isIOS,
|
||||
affectsLayout: global.isIOS,
|
||||
valueConverter: converter,
|
||||
});
|
||||
orientationProperty.register(StackLayoutBase);
|
||||
|
||||
Reference in New Issue
Block a user