Skip to content

Commit 18ee3b0

Browse files
authored
PR #14458 from remibettan: dashboard open close icons corrected
2 parents 005881a + 692dcf5 commit 18ee3b0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

common/output-model.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ void output_model::draw(ux_window& win, rect view_rect, device_models_list & dev
698698

699699
if( is_dashboard_open )
700700
{
701-
if( ImGui::Button( textual_icons::circle_chevron_down, collapse_dashboard_button_size ) ) // close dashboard
701+
if( ImGui::Button( textual_icons::circle_chevron_right, collapse_dashboard_button_size ) ) // close dashboard
702702
{
703703
is_dashboard_open = false;
704704
config_file::instance().set( configurations::viewer::dashboard_open, is_dashboard_open );
@@ -718,7 +718,7 @@ void output_model::draw(ux_window& win, rect view_rect, device_models_list & dev
718718
float cursor_pos_x = ImGui::GetCursorPosX();
719719
ImGui::SetCursorPosX( 0 );
720720

721-
if( ImGui::Button( textual_icons::circle_chevron_up, collapse_dashboard_button_size ) ) // open dashboard
721+
if( ImGui::Button( textual_icons::circle_chevron_left, collapse_dashboard_button_size ) ) // open dashboard
722722
{
723723
is_dashboard_open = true;
724724
config_file::instance().set( configurations::viewer::dashboard_open, is_dashboard_open );

common/textual-icons.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ namespace rs2
8787
static const textual_icon angle_left{ u8"\uf107" };
8888
static const textual_icon circle{ u8"\uf111" };
8989
static const textual_icon minus_square_o{ u8"\uf120" };
90+
static const textual_icon circle_chevron_left{ u8"\uf137" };
91+
static const textual_icon circle_chevron_right{ u8"\uf138" };
9092
static const textual_icon circle_chevron_up{ u8"\uf139" };
9193
static const textual_icon circle_chevron_down{ u8"\uf13a" };
9294
static const textual_icon ellipsis_h{ u8"\uf141" };

0 commit comments

Comments
 (0)