mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 14:54:09 +02:00
Fixed issues with multi-window editing
This commit is contained in:
parent
387ba470d4
commit
cce45dbc15
3 changed files with 49 additions and 11 deletions
|
@ -105,7 +105,8 @@ namespace IDE
|
|||
{
|
||||
None = 0,
|
||||
MainWindow = 1,
|
||||
Editor = 2,
|
||||
WorkWindow = 2,
|
||||
Editor = 4,
|
||||
}
|
||||
|
||||
public String mName ~ delete _;
|
||||
|
@ -159,7 +160,7 @@ namespace IDE
|
|||
};
|
||||
public CommandMap mKeyMap = new .() ~ delete _;
|
||||
|
||||
void Add(StringView name, Action act, IDECommand.ContextFlags contextFlags = .MainWindow)
|
||||
void Add(StringView name, Action act, IDECommand.ContextFlags contextFlags = .WorkWindow)
|
||||
{
|
||||
let cmd = new IDECommand();
|
||||
cmd.mName = new String(name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue