File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
skyrim_ui/src/app/components/root Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -470,7 +470,7 @@ void MagicService::StartRevealingOtherPlayers() noexcept
470470
471471void MagicService::UpdateRevealOtherPlayersEffect (bool aForceTrigger) noexcept
472472{
473- constexpr auto cRevealDuration = 6s ;
473+ constexpr auto cRevealDuration = 10s ;
474474 constexpr auto cDelayBetweenUpdates = 2s;
475475
476476 // Effect's activation and lifecycle
@@ -480,7 +480,7 @@ void MagicService::UpdateRevealOtherPlayersEffect(bool aForceTrigger) noexcept
480480
481481 const bool shouldActivate = aForceTrigger || GetAsyncKeyState (VK_F4) & 0x01 ;
482482
483- if (shouldActivate & 0x01 & & !m_revealingOtherPlayers)
483+ if (shouldActivate && !m_revealingOtherPlayers)
484484 {
485485 m_revealingOtherPlayers = true ;
486486 revealStartTimePoint = std::chrono::steady_clock::now ();
Original file line number Diff line number Diff line change 6161 style ="position: absolute; left: 0; top: 0; "
6262 class ="text-cooldown-effect "
6363 [class.cooldown-active] ="revealingInProgress$ "
64- [style.--cooldown-duration] ="revealingInProgress$ ? '6s ' : '0.3s' "
64+ [style.--cooldown-duration] ="revealingInProgress$ ? '10s ' : '0.3s' "
6565 >
6666 {{ 'COMPONENT.ROOT.REVEAL_PLAYERS' | transloco }}
6767 </ span >
Original file line number Diff line number Diff line change 145145}
146146
147147.text-cooldown-effect {
148- --cooldown-duration : 6 s ;
148+ --cooldown-duration : 10 s ;
149149 background : linear-gradient (
150150 to left ,
151151 mod ($-color-background , 0.3 ) 50% ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { controlsAnimation } from './controls.animation';
1919import { notificationsAnimation } from './notifications.animation' ;
2020import { map } from 'rxjs/operators' ;
2121
22- const REVEAL_EFFECT_DURATION_MS = 6000 // todo: pass value from C++?
22+ const REVEAL_EFFECT_DURATION_MS = 10000 // todo: pass value from C++?
2323
2424@Component ( {
2525 selector : 'app-root' ,
You can’t perform that action at this time.
0 commit comments