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

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;
}