提交 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
}
}
#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
}
}
......@@ -5,10 +5,10 @@ namespace Windows.UI.Xaml.Media.Animation;
public partial class ReorderThemeTransition : global::Windows.UI.Xaml.Media.Animation.Transition
{
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public ReorderThemeTransition()
public ReorderThemeTransition()
{
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented(
"Windows.UI.Xaml.Media.Animation.ReorderThemeTransition",
"Windows.UI.Xaml.Media.Animation.ReorderThemeTransition",
"ReorderThemeTransition.ReorderThemeTransition()",
LogLevel.Debug);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册