Move the remaining functionality of ChatDocumentHandler to ChatTextItemHelper or split into own objects
This commit is contained in:
@@ -110,8 +110,14 @@ QQC2.Control {
|
||||
height: implicitHeight
|
||||
y: -height - 5
|
||||
z: 10
|
||||
<<<<<<< HEAD
|
||||
|
||||
chatDocumentHandler: documentHandler
|
||||
=======
|
||||
room: root.Message.room
|
||||
type: root.chatBarCache.isEditing ? ChatBarType.Edit : ChatBarType.Thread
|
||||
// textItem: textArea
|
||||
>>>>>>> c7858a151 (Move the remaining functionality of ChatDocumentHandler to ChatTextItemHelper or split into own objects)
|
||||
margins: 0
|
||||
Behavior on height {
|
||||
NumberAnimation {
|
||||
@@ -125,13 +131,6 @@ QQC2.Control {
|
||||
// opt-out of whatever spell checker a styled TextArea might come with
|
||||
Kirigami.SpellCheck.enabled: false
|
||||
|
||||
ChatDocumentHandler {
|
||||
id: documentHandler
|
||||
type: root.chatBarCache.isEditing ? ChatBarType.Edit : ChatBarType.Thread
|
||||
textItem: textArea
|
||||
room: root.Message.room
|
||||
}
|
||||
|
||||
TextMetrics {
|
||||
id: textMetrics
|
||||
text: textArea.text
|
||||
|
||||
Reference in New Issue
Block a user