mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
feat(ios): improved shadow handling with background UI rework (#10374)
BREAKING CHANGES: `CSSShadow` was renamed into `ShadowCSSValues`
This commit is contained in:

committed by
GitHub

parent
a959a797df
commit
39eed526c1
@ -1,6 +1,6 @@
|
||||
// Types
|
||||
import { getClosestPropertyValue, maxLinesProperty, textOverflowProperty } from './text-base-common';
|
||||
import { CSSShadow } from '../styling/css-shadow';
|
||||
import { ShadowCSSValues } from '../styling/css-shadow';
|
||||
|
||||
// Requires
|
||||
import { Font } from '../styling/font';
|
||||
@ -419,7 +419,7 @@ export class TextBase extends TextBaseCommon {
|
||||
};
|
||||
}
|
||||
|
||||
[textShadowProperty.setNative](value: CSSShadow) {
|
||||
[textShadowProperty.setNative](value: ShadowCSSValues) {
|
||||
// prettier-ignore
|
||||
this.nativeTextViewProtected.setShadowLayer(
|
||||
Length.toDevicePixels(value.blurRadius, java.lang.Float.MIN_VALUE),
|
||||
|
Reference in New Issue
Block a user