mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Fixes for new override system
This commit is contained in:
parent
5d1a9e6873
commit
7d64d6dd21
4 changed files with 4 additions and 4 deletions
|
@ -5341,7 +5341,7 @@ namespace IDE
|
|||
return DarkTheme.sDarkTheme.mSmallFont.GetWidth(mLabel) + DarkTheme.GetScaled(40);
|
||||
}
|
||||
|
||||
public override void Activate(bool setFocus)
|
||||
public override void Activate(bool setFocus = true)
|
||||
{
|
||||
base.Activate(setFocus);
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ namespace IDE.ui
|
|||
mClassViewPanel.Resize(0, 0, width, height - GS!(34));
|
||||
}
|
||||
|
||||
public override void PopupWindow(WidgetWindow parentWindow, float offsetX, float offsetY)
|
||||
public override void PopupWindow(WidgetWindow parentWindow, float offsetX = 0, float offsetY = 0)
|
||||
{
|
||||
base.PopupWindow(parentWindow, offsetX, offsetY);
|
||||
mClassViewPanel.[Friend]mSearchEdit.SetFocus();
|
||||
|
|
|
@ -1462,7 +1462,7 @@ namespace IDE.ui
|
|||
PasteText(theString, false);
|
||||
}
|
||||
|
||||
public override void InsertAtCursor(String theString, InsertFlags insertFlags)
|
||||
public override void InsertAtCursor(String theString, InsertFlags insertFlags = .None)
|
||||
{
|
||||
var insertFlags;
|
||||
|
||||
|
|
|
@ -4350,7 +4350,7 @@ namespace IDE.ui
|
|||
Content.Data.mCurQuickFind = mQuickFind;
|
||||
}
|
||||
|
||||
public override void FindNext(int32 dir)
|
||||
public override void FindNext(int32 dir = 1)
|
||||
{
|
||||
var activePanel = GetActivePanel();
|
||||
if (activePanel != this)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue