Re-enabled timeline scrolling and fixed the issues with it

This commit is contained in:
SpoinkyNL committed 2020-01-09 22:01:41 +01:00
1 parent 8a1759a575
commit 990890b98c
6 files changed
+47 -24

No files matched your search

@@ -60,7 +60,6 @@ namespace Artemis.UI.Screens.Module.ProfileEditor.LayerProperties.Timeline
protected override void OnRender(DrawingContext drawingContext)
{
SetValue(RenderOptions.EdgeModeProperty, EdgeMode.Aliased);
base.OnRender(drawingContext);
UpdateTimeScale();
@@ -64,6 +64,8 @@ namespace Artemis.UI.Screens.Module.ProfileEditor.LayerProperties.Timeline
{
foreach (var viewModel in PropertyTrackViewModels)
viewModel.UpdateKeyframes(LayerPropertiesViewModel.PixelsPerSecond);
UpdateEndTime();
}
/// <summary>