提交 3bb9b34d 编写于 作者: R rafael-rosa-knowcode 提交者: Jerome Laban

chore: change border to FrameworkElement

上级 3750bae9
......@@ -28,7 +28,7 @@ using Windows.Media.Core;
namespace Uno.UI.Media;
public partial class GtkMediaPlayer : Border
public partial class GtkMediaPlayer : FrameworkElement
{
private LibVLC? _libvlc;
private LibVLCSharp.Shared.MediaPlayer? _mediaPlayer;
......
......@@ -72,8 +72,8 @@ public partial class GtkMediaPlayer
_mediaPlayer.Stopped += OnMediaPlayerStopped;
_videoContainer.Content = _videoView;
Child = _videoContainer;
AddChild(_videoContainer);
//Child = _videoContainer;
UpdateVideoStretch();
if (this.Log().IsEnabled(Microsoft.Extensions.Logging.LogLevel.Debug))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册