~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to src/ui_basic/textinput.cc

  • Committer: The Widelands Bunnybot
  • Date: 2024-10-19 13:45:54 UTC
  • Revision ID: bunnybot@widelands.org-20241019134554-kz2gcbecf0y7bd7n
170 files were automatically formatted.

(by bunnybot)
5a9087b08ab9bbc48795ff0f7f1f370f60108b1a

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
                UI::Align::kLeft, with_caret ? cursor_pos : std::numeric_limits<uint32_t>::max(),
202
202
                with_caret && mode == Data::Mode::kSelection,
203
203
                owner.should_expand_selection() ?
204
 
              std::optional<std::pair<int32_t, int32_t>>(std::make_pair(0, owner.get_h())) :
205
 
              std::nullopt,
 
204
                   std::optional<std::pair<int32_t, int32_t>>(std::make_pair(0, owner.get_h())) :
 
205
                   std::nullopt,
206
206
                start, end, scrollbar.get_scrollpos(), caret_image_path);
207
207
}
208
208