File tree 1 file changed +3
-3
lines changed
nekoyume/Assets/_Scripts/UI/Module/Currency
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -197,8 +197,8 @@ private void UpdateDailyBonusSlider(bool useAnimation)
197
197
198
198
private void OnSliderChange ( )
199
199
{
200
- var current = ( ( int ) sliderAnimator . Value ) . ToString ( "N0" , CultureInfo . CurrentCulture ) ;
201
- var max = ( ( int ) sliderAnimator . MaxValue ) . ToString ( "N0" , CultureInfo . CurrentCulture ) ;
200
+ var current = ( ( int ) _currentActionPoint ) . ToString ( "N0" , CultureInfo . CurrentCulture ) ;
201
+ var max = DailyReward . ActionPointMax . ToString ( "N0" , CultureInfo . CurrentCulture ) ;
202
202
text . text = $ "{ current } /{ max } ";
203
203
}
204
204
@@ -238,7 +238,7 @@ public void ShowMaterialNavigationPopup()
238
238
var apStoneCount = Game . Game . instance . States . CurrentAvatarState . inventory
239
239
. GetUsableItemCount ( CostType . ApPotion , blockIndex ) ;
240
240
241
- var itemCountText = $ "{ sliderAnimator . Value } /{ sliderAnimator . MaxValue } ";
241
+ var itemCountText = $ "{ _currentActionPoint } /{ DailyReward . ActionPointMax } ";
242
242
var blockRange = ( long ) dailyBonus . sliderAnimator . Value ;
243
243
var maxBlockRange = ( long ) dailyBonus . sliderAnimator . MaxValue ;
244
244
var isInteractable = IsInteractableMaterial ( ) ; // 이 경우 버튼 자체를 비활성화
You can’t perform that action at this time.
0 commit comments