mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-10 17:29:08 +00:00
modernise video player UI
This commit is contained in:
@@ -57,8 +57,6 @@ namespace QuickLook.Plugin.VideoViewer
|
||||
using (var element = new MediaElement {Source = new Uri(path)})
|
||||
{
|
||||
context.SetPreferredSizeFit(new Size(element.NaturalVideoWidth, element.NaturalVideoHeight), 0.6);
|
||||
context.PreferredSize = new Size(context.PreferredSize.Width,
|
||||
context.PreferredSize.Height + 26); // add control bar
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user