mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-28 21:19:52 +01:00
fix: decreasing position marked positively
This commit is contained in:
1 parent
beab7601a4
commit
5031b4f8e3
1 file changed
+3
-3
@@ -215,13 +215,13 @@ export const ratingCommand = new Promise<CommandRegistry>((resolve) => {
|
|||||||
</span>
|
</span>
|
||||||
{positionDelta !== undefined && positionDelta !== 0 && (
|
{positionDelta !== undefined && positionDelta !== 0 && (
|
||||||
<>
|
<>
|
||||||
<DeltaCaret delta={positionDelta} />
|
<DeltaCaret delta={-positionDelta} />
|
||||||
<span
|
<span
|
||||||
style={{
|
style={{
|
||||||
color:
|
color:
|
||||||
positionDelta > 0
|
positionDelta > 0
|
||||||
? theme.colors.textLowContrast_green
|
? theme.colors.textLowContrast_red
|
||||||
: theme.colors.textLowContrast_red,
|
: theme.colors.textLowContrast_green,
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in new issue
Block a user