mirror of
https://gitee.com/handyorg/HandyControl.git
synced 2024-11-30 19:08:08 +08:00
Update RunningBlock.cs
This commit is contained in:
parent
0f6d254db8
commit
41f2f039ce
@ -70,7 +70,7 @@ namespace HandyControl.Controls
|
||||
_elementPanel.Width = _elementPanel.DesiredSize.Width;
|
||||
_elementPanel.Height = _elementPanel.DesiredSize.Height;
|
||||
|
||||
var animation = new DoubleAnimation(-_elementContent.ActualWidth, ActualWidth, Duration)
|
||||
var animation = new DoubleAnimation(-_elementPanel.Width, ActualWidth, Duration)
|
||||
{
|
||||
RepeatBehavior = RepeatBehavior.Forever
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user