Announcement

Collapse

Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.



In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.



All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

Replay controls do not default to hidden

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Replay controls do not default to hidden

    From the TI 7 Battle Pass patch notes:

    Replay controls will default to hidden when viewing a live game
    Still doesn't work. are neither hidden by default, nor is their last selected state remembered across games / restarting the client (even after the next ~5 updates).
    The King has arrived.

  • #2
    will - as in - at an unspecified valve time later
    Adding the whole package would be nice, too - ref (hiding spectator options in the top right corner, auto-relocate action panel above timeline etc).

    Code:
    diff --git a/game/dota/pak01_dir/panorama/layout/hud/dota_hud_spectator_dvr.xml b/game/dota/pak01_dir/panorama/layout/hud/dota_hud_spectator_dvr.xml
    index 3c6442d..62ce53e 100644
    --- a/game/dota/pak01_dir/panorama/layout/hud/dota_hud_spectator_dvr.xml
    +++ b/game/dota/pak01_dir/panorama/layout/hud/dota_hud_spectator_dvr.xml
    (4,4):          <include src="s2r://panorama/styles/hudstyles.vcss_c" />
    (5,5):          <include src="s2r://panorama/styles/hud/dota_hud_spectator_dvr.vcss_c" />
    (6,6):  </styles>
    +7:+<!-- AveYo [ -->
    +8:+  <script>
    +9:+            function AveyoTheAbsoluteMadman(){
    +10:+                   $.DispatchEventAsync(0.0, 'ToggleVisibility');
    +11:+                   var dvrpanel = $.GetContextPanel();
    +12:+                   var centerpanel = $.GetContextPanel().GetParent().FindChildTraverse("center_with_stats");
    +13:+                   if (centerpanel) centerpanel.SetHasClass( "WithDVR", !dvrpanel.BHasClass("ForceVisible") );
    +14:+           }
    +15:+   </script>
    +16:+<!-- AveYo ] -->
    (7,17):         <DOTASpectatorDVR hittest="false">
    (8,18):                 <Panel id="DVRControls" hittest="true">
    (9,19):                         <Panel id="TimeDisplay">
    (20,30):                        <Button id="SkipBackButton" />
    (21,31):                        <Button id="PlayButton" />
    (22,32):                </Panel>
    -23:-
    -24:-           <Button id="ExpandButton" onactivate="ToggleVisibility()" hittest="true">
    +33:+<!-- AveYo [ -->
    +34:+<!--               <Button id="ExpandButton" onactivate="ToggleVisibility()" hittest="true"> -->
    +35:+           <Button id="ExpandButton" onactivate="AveyoTheAbsoluteMadman();" hittest="true">
    +36:+<!-- AveYo ] -->
    (25,37):                        <Panel id="ExpandButtonIcon"/>
    (26,38):                </Button>
    (27,39):        </DOTASpectatorDVR>
    
    
    diff --git a/game/dota/pak01_dir/panorama/scripts/hud/dota_hud_pregame.js b/game/dota/pak01_dir/panorama/scripts/hud/dota_hud_pregame.js
    index c3b46f8..c9fbcf1 100644
    --- a/game/dota/pak01_dir/panorama/scripts/hud/dota_hud_pregame.js
    +++ b/game/dota/pak01_dir/panorama/scripts/hud/dota_hud_pregame.js
    (97,97):     $.Schedule( mapLoadingOutroDuration, function () {
    (98,98):         $.GetContextPanel().MapLoadingOutroFinished();
    (99,99):     } );
    +100:+
    +101:+//// AveYo [
    +102:+    preGame.GetParent().FindChild("spectator_dvr").SetHasClass( "ForceVisible", false );
    +103:+    $.DispatchEventAsync(0.0, 'DOTASetSpectatorOptionsVisible', false );
    +104:+//// AveYo ]
    +105:+
    (100,106): }
    
    
    diff --git a/game/dota/pak01_dir/panorama/styles/hud/hud_reborn.css b/game/dota/pak01_dir/panorama/styles/hud/hud_reborn.css
    index 12a258f..47abe8b 100644
    --- a/game/dota/pak01_dir/panorama/styles/hud/hud_reborn.css
    +++ b/game/dota/pak01_dir/panorama/styles/hud/hud_reborn.css
    (83,83):        transition-timing-function: ease-in-out;
    (84,84): }
    (85,85):
    +86:+//// AveYo [
    +87:+.WithDVR
    +88:+{
    +89:+   margin-bottom: 54px;
    +90:+}
    +91:+//// AveYo ]
    +92:+
    (86,93): DOTAHud.IsBeforeGameplay #lower_hud,
    (87,94): DOTAHud.IsBeforeGameplay #minimap_container
    (88,95): {
    It would take a Valve dev a lot less code to implement
    Troubleshooting crashes
    Dota 2 Resources: autoexec.cfg reference / benchmark.cfg / Tweak it yourself (launch options, cvars) / useful batch files
    No-Bling GlanceValue & FPS ++ NEW! Panorama hotkeys NEW! dota_primary_mm_language_override NEW TOGGLE_QUICKCAST_TP.bat NEW FIX LEGACY KEYS YOURSELF! NEW Toggle UI Animations OFF

    Comment

    Working...
    X