mirror of
https://github.com/lantean-code/qbtmud.git
synced 2025-10-23 04:52:22 +00:00
Try fix issue with text selection on longpress
This commit is contained in:
@@ -435,12 +435,23 @@ namespace Lantean.QBTMud.Components.UI
|
||||
|
||||
if (column.Width.HasValue)
|
||||
{
|
||||
className = $"overflow-cell {className}";
|
||||
className = string.IsNullOrWhiteSpace(className)
|
||||
? "overflow-cell"
|
||||
: $"overflow-cell {className}";
|
||||
}
|
||||
|
||||
if (OnTableDataContextMenu.HasDelegate)
|
||||
{
|
||||
className = $"no-default-context-menu {className}";
|
||||
className = string.IsNullOrWhiteSpace(className)
|
||||
? "no-default-context-menu"
|
||||
: $"no-default-context-menu {className}";
|
||||
}
|
||||
|
||||
if (OnTableDataLongPress.HasDelegate)
|
||||
{
|
||||
className = string.IsNullOrWhiteSpace(className)
|
||||
? "unselectable"
|
||||
: $"unselectable {className}";
|
||||
}
|
||||
|
||||
return className;
|
||||
|
Reference in New Issue
Block a user