mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 19:47:17 +00:00
partially fix issue #2747: text selectable, more top margin of buttons
on dialog
This commit is contained in:
@@ -51,7 +51,7 @@ class ChatPage extends StatelessWidget implements PageShape {
|
||||
return Stack(
|
||||
children: [
|
||||
LayoutBuilder(builder: (context, constraints) {
|
||||
return DashChat(
|
||||
final chat = DashChat(
|
||||
onSend: (chatMsg) {
|
||||
chatModel.send(chatMsg);
|
||||
chatModel.inputNode.requestFocus();
|
||||
@@ -108,6 +108,7 @@ class ChatPage extends StatelessWidget implements PageShape {
|
||||
borderBottomLeft: 8,
|
||||
)),
|
||||
);
|
||||
return SelectionArea(child: chat);
|
||||
}),
|
||||
desktopType == DesktopType.cm ||
|
||||
chatModel.currentID == ChatModel.clientModeID
|
||||
|
||||
Reference in New Issue
Block a user