Update item info notification with icon

This commit is contained in:
David Kocik 2021-07-29 16:48:17 +02:00
parent 654cd753e2
commit aa17d54eda
8 changed files with 93 additions and 147 deletions

View file

@ -218,7 +218,7 @@ void NotificationManager::HintNotification::count_spaces()
std::string text;
text = ImGui::LeftArrowButton; // TODO change to left arrow
text = ImGui::WarningMarker;
float picture_width = ImGui::CalcTextSize(text.c_str()).x;
m_left_indentation = picture_width + m_line_height / 2;