aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/left_panel/GameTabLeftPanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_tab/left_panel/GameTabLeftPanel.cpp')
-rw-r--r--src/game_tab/left_panel/GameTabLeftPanel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game_tab/left_panel/GameTabLeftPanel.cpp b/src/game_tab/left_panel/GameTabLeftPanel.cpp
index c4d8764..1d6ed61 100644
--- a/src/game_tab/left_panel/GameTabLeftPanel.cpp
+++ b/src/game_tab/left_panel/GameTabLeftPanel.cpp
@@ -89,13 +89,13 @@ void GameTabLeftPanel::SetEngineEvaluation(EngineEvaluation eval){
if(is_engine_on){
engine_arrows.clear();
float scale=1;
- unsigned char color=0;
+ unsigned char alpha=190;
for(auto const &arrow: eval.best_lines){
std::string src=arrow.substr(0,2);
std::string dst=arrow.substr(2,2);
- engine_arrows.push_back({src,dst,wxColour(color,color,color),scale});
+ engine_arrows.push_back({src,dst,wxColour(6,57,112,alpha),scale});
scale=std::max(0.1,scale-0.25);
- color=std::min(255,color+70);
+ alpha=std::max(20,alpha-60);
}
eval_cp=eval.eval;
Notify(true);