Make label and colorpicker types work

This commit is contained in:
Samuel Attard 2016-11-28 18:24:48 +11:00 committed by Kevin Sawicki
parent 7857c83ea1
commit 18c7c3ece8
8 changed files with 64 additions and 27 deletions

View file

@ -282,8 +282,8 @@ void Window::OnExecuteWindowsCommand(const std::string& command_name) {
Emit("app-command", command_name);
}
void Window::OnTouchBarItemResult(const std::string& item_type, const std::string& item_id) {
Emit("-touch-bar-interaction", item_type, item_id);
void Window::OnTouchBarItemResult(const std::string& item_type, const std::vector<std::string>& args) {
Emit("-touch-bar-interaction", item_type, args);
}
#if defined(OS_WIN)