From 946aaac27647af028247b7807b028cec658483e6 Mon Sep 17 00:00:00 2001 From: Anna Date: Sun, 4 Sep 2022 01:27:04 -0400 Subject: [PATCH] show score --- client/Ui/Viewer.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/Ui/Viewer.cs b/client/Ui/Viewer.cs index 19b76f8..73674f2 100644 --- a/client/Ui/Viewer.cs +++ b/client/Ui/Viewer.cs @@ -74,6 +74,8 @@ internal class Viewer { ImGui.TextUnformatted(message.Text); ImGui.PopTextWrapPos(); + ImGui.TextUnformatted($"Appraisals: {message.PositiveVotes - message.NegativeVotes}"); + if (ImGui.Button("Like")) { Task.Run(async () => { await ServerHelper.SendRequest( @@ -85,7 +87,7 @@ internal class Viewer { ); }); } - + ImGui.SameLine(); if (ImGui.Button("Dislike")) {