Merge pull request #7580 from Phrohdoh/ab-logical-frame-counter
Use correct frame indices in the asset browser.
This commit is contained in:
@@ -134,7 +134,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
frameText.GetText = () =>
|
||||
isVideoLoaded ?
|
||||
"{0} / {1}".F(player.Video.CurrentFrame + 1, player.Video.Frames) :
|
||||
"{0} / {1}".F(currentFrame + 1, currentSprites.Length);
|
||||
"{0} / {1}".F(currentFrame, currentSprites.Length - 1);
|
||||
}
|
||||
|
||||
var playButton = panel.GetOrNull<ButtonWidget>("BUTTON_PLAY");
|
||||
|
||||
Reference in New Issue
Block a user