mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-24 18:48:01 +02:00
More lenient mouse behavior for multiline string popup
This commit is contained in:
parent
cac67b8288
commit
e300800ca0
6 changed files with 53 additions and 7 deletions
|
@ -141,7 +141,7 @@ namespace IDE.ui
|
|||
var editWidget = new WatchStringEdit(mTooltipText, null);
|
||||
|
||||
tooltip.mRelWidgetMouseInsets = new Insets(0, 0, GS!(-8), 0);
|
||||
tooltip.mAllowMouseInsideSelf = true;
|
||||
tooltip.mAllowMouseInsideInsets = new .();
|
||||
tooltip.AddWidget(editWidget);
|
||||
tooltip.mOnResized.Add(new (widget) => editWidget.Resize(GS!(6), GS!(6), widget.mWidth - GS!(6) * 2, widget.mHeight - GS!(6) * 2));
|
||||
tooltip.mOnResized(tooltip);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue