Skip to content

Commit fb7f58c

Browse files
committed
Improve visibility of discord timestamp generator integration in time skin
1 parent 412504a commit fb7f58c

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

RMSKIN/Skins/uhe/Time/Digital/Digital.ini

+15-11
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Information=Checks time using digital.
1212

1313
[Variables]
1414
DropdownHeight=[meterDropdownContent:W]
15-
InitialTimestampOpened=0
1615

1716
[measureTime]
1817
Measure=Time
@@ -71,17 +70,22 @@ FontFace=#DisplayFont#
7170
FontSize=50
7271
Padding=#PaddingSize#
7372
Group=TextGroup
74-
MouseOverAction=#HorizontalExpandCommand#
75-
MouseLeaveAction=#HorizontalCollapseCommand#
76-
LeftMouseUpAction=#PlayButtonClick#[!ToggleMeterGroup TimestampGroup][!UpdateMeterGroup TimestampGroup][!WriteKeyValue Variables InitialTimestampOpened 1][!SetVariable InitialTimestampOpened 1][!Redraw]
73+
MouseOverAction=#HorizontalExpandCommand#[!ShowMeter meterDiscordIcon]
74+
MouseLeaveAction=#HorizontalCollapseCommand#[!HideMeter meterDiscordIcon]
7775

78-
[measureInitialTimestampOpen]
79-
Measure=Calc
80-
Formula=#InitialTimestampOpened#
81-
IfCondition=measureInitialTimestampOpen = 0
82-
IfTrueAction=[!SetOption meterEdge ToolTipText "click to toggle discord timestamp generator"]
83-
IfFalseAction=[!SetOption meterEdge ToolTipText ""]
76+
[meterDiscordIcon]
77+
Meter=String
78+
FontFace=#BrandFace#
79+
Text=[\xf392]
80+
FontSize=12
81+
Group=TextGroup
82+
AntiAlias=1
83+
Hidden=1
84+
X=10
85+
Y=-22R
8486
DynamicVariables=1
87+
LeftMouseUpAction=#PlayButtonClick#[!ToggleMeterGroup TimestampGroup][!UpdateMeterGroup TimestampGroup][!Redraw]
88+
ToolTipText=click to toggle discord timestamp generator
8589

8690
[meterDropdownBackground]
8791
Meter=Shape
@@ -93,7 +97,7 @@ Shape4=Combine Shape | Union Shape2 | Exclude Shape3
9397
Gradient=0 | 0,0,0,0 ; 0.0
9498
DynamicVariables=1
9599
Group=OpaqueBackgroundGroup
96-
X=R
100+
X=[meterEdge:W]
97101

98102
[meterDropdown]
99103
Meter=Image

0 commit comments

Comments
 (0)