Update RunningBlock.cs
This commit is contained in:
1 parent
0f6d254db8
commit
41f2f039ce
1 file changed
+1
-1
@@ -70,7 +70,7 @@ namespace HandyControl.Controls
|
|||||||
_elementPanel.Width = _elementPanel.DesiredSize.Width;
|
_elementPanel.Width = _elementPanel.DesiredSize.Width;
|
||||||
_elementPanel.Height = _elementPanel.DesiredSize.Height;
|
_elementPanel.Height = _elementPanel.DesiredSize.Height;
|
||||||
|
|
||||||
var animation = new DoubleAnimation(-_elementContent.ActualWidth, ActualWidth, Duration)
|
var animation = new DoubleAnimation(-_elementPanel.Width, ActualWidth, Duration)
|
||||||
{
|
{
|
||||||
RepeatBehavior = RepeatBehavior.Forever
|
RepeatBehavior = RepeatBehavior.Forever
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user