mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 17:03:17 +00:00
Set the I-beam cursor's hotspot properly
Otherwise it's a bit awkward to use and the selection ends up in the wrong place.
This commit is contained in:
parent
5fc6360488
commit
c31047af47
@ -55,7 +55,7 @@ std::array<cursor_data, cursor::NUM_CURSORS> available_cursors {{
|
||||
#ifdef __APPLE__
|
||||
{ nullptr, boost::indeterminate, "normal.png", "normal.png", 0, 0 },
|
||||
{ nullptr, boost::indeterminate, "wait-alt.png", "wait.png", 0, 0 },
|
||||
{ nullptr, boost::indeterminate, "ibeam.png", "ibeam.png", 0, 0 },
|
||||
{ nullptr, boost::indeterminate, "ibeam.png", "ibeam.png", 14, 14 },
|
||||
{ nullptr, boost::indeterminate, "move.png", "move.png", 0, 0 },
|
||||
{ nullptr, boost::indeterminate, "attack.png", "attack.png", 0, 0 },
|
||||
{ nullptr, boost::indeterminate, "select.png", "select.png", 0, 0 },
|
||||
@ -65,7 +65,7 @@ std::array<cursor_data, cursor::NUM_CURSORS> available_cursors {{
|
||||
#else
|
||||
{ nullptr, boost::indeterminate, "normal.png", "normal.png", 0, 0 },
|
||||
{ nullptr, boost::indeterminate, "wait.png", "wait.png", 0, 0 },
|
||||
{ nullptr, boost::indeterminate, "ibeam.png", "ibeam.png", 0, 0 },
|
||||
{ nullptr, boost::indeterminate, "ibeam.png", "ibeam.png", 14, 14 },
|
||||
{ nullptr, boost::indeterminate, "move.png", "move.png", 0, 0 },
|
||||
{ nullptr, boost::indeterminate, "attack.png", "attack.png", 0, 0 },
|
||||
{ nullptr, boost::indeterminate, "select.png", "select.png", 0, 0 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user