提交 ee756d30 编写于 作者: M Martin Zikmund

chore: Adjust for CI

上级 546471bc
using Uno;
using Uno.Foundation.Logging;
namespace Windows.UI.Xaml.Controls;
partial class ScrollViewer
{
private static bool _warnedAboutZoomedContentAlignment;
[NotImplemented]
private void UpdateZoomedContentAlignment()
{
if (_warnedAboutZoomedContentAlignment)
{
return;
}
_warnedAboutZoomedContentAlignment = true;
if (this.Log().IsEnabled(LogLevel.Warning))
{
this.Log().LogWarning("Zoom-based content alignment is not implemented on this platform.");
}
}
}
...@@ -1586,5 +1586,24 @@ namespace Windows.UI.Xaml.Controls ...@@ -1586,5 +1586,24 @@ namespace Windows.UI.Xaml.Controls
} }
} }
#endregion #endregion
#if __CROSSRUNTIME__ || __MACOS__
private static bool _warnedAboutZoomedContentAlignment;
[NotImplemented]
private void UpdateZoomedContentAlignment()
{
if (_warnedAboutZoomedContentAlignment)
{
return;
}
_warnedAboutZoomedContentAlignment = true;
if (this.Log().IsEnabled(LogLevel.Warning))
{
this.Log().LogWarning("Zoom-based content alignment is not implemented on this platform.");
}
}
#endif
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册