mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 16:20:49 +01:00
[escher/text_input] insertTextAtLocation location parameter not const anymore
This commit is contained in:
committed by
Léa Saviot
parent
742ee475ea
commit
09e1c2eb8b
@@ -170,7 +170,7 @@ void TextInput::setAlignment(float horizontalAlignment, float verticalAlignment)
|
||||
contentView()->setAlignment(horizontalAlignment, verticalAlignment);
|
||||
}
|
||||
|
||||
bool TextInput::insertTextAtLocation(const char * text, const char * location) {
|
||||
bool TextInput::insertTextAtLocation(const char * text, char * location) {
|
||||
if (contentView()->insertTextAtLocation(text, location)) {
|
||||
/* We layout the scrollable view before scrolling to cursor because the
|
||||
* content size might have changed. */
|
||||
|
||||
Reference in New Issue
Block a user