Adjust the index of the drag subtool button for the addition of the separator

This commit is contained in:
Thomas Goyne 2019-09-28 14:24:07 -07:00 committed by wangqr
parent ea4010dcbe
commit b2be79366e
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ void VisualToolDrag::UpdateToggleButtons() {
if (to_move == button_is_move) return;
toolbar->SetToolNormalBitmap(toolbar->GetToolByPos(0)->GetId(),
toolbar->SetToolNormalBitmap(toolbar->GetToolByPos(1)->GetId(),
to_move ? ICON(visual_move_conv_move) : ICON(visual_move_conv_pos));
button_is_move = to_move;
}