mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-20 04:20:49 +00:00
Don't add dead chars if the entry field is full
This commit is contained in:
parent
f4683f385d
commit
acdd9c3fed
@ -324,7 +324,8 @@ bool Entry::onProcessMessage(Message* msg)
|
||||
|
||||
// Select dead-key
|
||||
if (keymsg->isDeadKey()) {
|
||||
selectText(m_caret-1, m_caret);
|
||||
if (base::from_utf8(text()).size() < m_maxsize)
|
||||
selectText(m_caret-1, m_caret);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user