mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-28 11:35:35 +03:00
GH-436 Adapt workspace demo app
This commit is contained in:
parent
77cc5cdb53
commit
c7c24f39a8
@ -59,7 +59,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, WorkspaceDelegate {
|
||||
|
||||
fileprivate func dummyTool(title: String,
|
||||
color: NSColor,
|
||||
customToolbar: NSView? = nil,
|
||||
customToolbar: CustomToolBar? = nil,
|
||||
customMenu: [NSMenuItem] = []) -> WorkspaceTool
|
||||
{
|
||||
let config = WorkspaceTool.Config(title: title,
|
||||
@ -89,7 +89,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, WorkspaceDelegate {
|
||||
}
|
||||
}
|
||||
|
||||
class DummyView: NSView {
|
||||
class DummyView: CustomToolBar {
|
||||
|
||||
required init?(coder: NSCoder) {
|
||||
fatalError("init(coder:) has not been implemented")
|
||||
|
Loading…
Reference in New Issue
Block a user