From 5c8299043b0ecf2102a2fdc8b9cbc5a2ed118b54 Mon Sep 17 00:00:00 2001 From: Jack-Myth Date: Sat, 16 Nov 2019 20:31:59 +0800 Subject: [PATCH] Fix InGame Overlay notification dark bar --- resource/styles/jackmyth.styles | 23 ----------------------- resource/styles/settings.styles | 6 +++--- steam/cached/OverlaySplash.res | 9 +++++++++ 3 files changed, 12 insertions(+), 26 deletions(-) diff --git a/resource/styles/jackmyth.styles b/resource/styles/jackmyth.styles index df8ab32..09ec869 100644 --- a/resource/styles/jackmyth.styles +++ b/resource/styles/jackmyth.styles @@ -376,29 +376,6 @@ jackmyth.styles {} } - - // Notification Overrides - // Seems doesn't work - CAchievmentNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - BroadcastApproveNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - BroadcastInviteNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - BroadcastPublicStateNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - CBroadcastRecorderNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - BroadcastUploadErrorNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - BroadcastViewerNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - CChatInvitationNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - CChatMsgNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - CClanEventNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - CClanInvitationNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - CFriendInGameNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - CFriendInvitationNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - CFriendOnlineNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - CGameInvitationNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - GiftReceivedNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - ItemReceivedNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - NewTurnsNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - TradInvitationNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } - CVoiceChatInviteNotification { render { 0="fill( x0 , y0 , x1, y1, DefaultBackground)" } } } //"layout" diff --git a/resource/styles/settings.styles b/resource/styles/settings.styles index 92742aa..ac0376b 100644 --- a/resource/styles/settings.styles +++ b/resource/styles/settings.styles @@ -23,8 +23,8 @@ Notifications.PanelPosition "BottomRight" // Can be "BottomRight", "BottomLeft", "TopRight", "TopLeft" Notifications.PanelPosition "TopRight" [$OSX] // the dock is on the bottom for OSX, so instead pop top right like other apps do Notifications.SlideDirection "Vertical" // Can be "Vertical", "Horizontal", "None" and controls slide effect - Notifications.FadeInTime "0.45" // Controls the time it takes to slide/fade into view - Notifications.FadeOutTime "0.45" // Controls the time it takes to slide/fade out of view + Notifications.FadeInTime "1" // Controls the time it takes to slide/fade into view + Notifications.FadeOutTime "1" // Controls the time it takes to slide/fade out of view Notifications.DisplayTime "6.0" // Controls the length of time at steady state after fade in and before fade out Notifications.StackSize "10" // Controls how many panels we will stack before background queuing @@ -39,7 +39,7 @@ Menu.TextInset "10" - PropertySheet.TransitionEffectTime "0" // time to change from one tab to another + PropertySheet.TransitionEffectTime "0.5" // time to change from one tab to another PropertySheet.TabGap 0 RichText.InsetX 8 diff --git a/steam/cached/OverlaySplash.res b/steam/cached/OverlaySplash.res index b70df76..d2d39b6 100644 --- a/steam/cached/OverlaySplash.res +++ b/steam/cached/OverlaySplash.res @@ -1,5 +1,14 @@ "steam/cached/OverlaySplash.res" { + layout + { + place + { + control="DarkenedRegion" + width=0 + height=0 + } + } "OverlaySplashScreen" { "ControlName" "COverlaySplash"