浏览代码

minor fixes

/siyaoH-1.17-PlatformMessage
xingweizhu 4 年前
当前提交
bb377e49
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 2
      com.unity.uiwidgets/Runtime/material/range_slider.cs
  2. 2
      com.unity.uiwidgets/Runtime/material/selectable_text.cs
  3. 2
      com.unity.uiwidgets/Runtime/material/slider.cs

2
com.unity.uiwidgets/Runtime/material/range_slider.cs


markNeedsLayout();
}
protected override void systemFontsDidChange() {
public override void systemFontsDidChange() {
base.systemFontsDidChange();
_startLabelPainter.markNeedsLayout();
_endLabelPainter.markNeedsLayout();

2
com.unity.uiwidgets/Runtime/material/selectable_text.cs


case RuntimePlatform.OSXEditor:
case RuntimePlatform.OSXPlayer:
forcePressEnabled = true;
textSelectionControls = CupertinoTextSelectionUtils.cupertinoTextSelectionControls;
textSelectionControls = CupertinoTextFieldUtils.cupertinoTextSelectionControls;
paintCursorAboveText = true;
cursorOpacityAnimates = true;
cursorColor = cursorColor ?? CupertinoTheme.of(context).primaryColor;

2
com.unity.uiwidgets/Runtime/material/slider.cs


markNeedsLayout();
}
protected override void systemFontsDidChange() {
public override void systemFontsDidChange() {
base.systemFontsDidChange();
_labelPainter.markNeedsLayout();
_updateLabelPainter();

正在加载...
取消
保存