Commit afdaef02 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix fullscreen mode for pd window

parent 43652cfa
......@@ -503,10 +503,8 @@ function nw_create_pd_window_menus(gui, w) {
});
minit(m.view.fullscreen, {
click: function() {
var win = gui.Window.get(),
fullscreen = win.isFullscreen;
win.isFullscreen = !fullscreen;
pdgui.post("fullscreen is " + !fullscreen);
var win = gui.Window.get();
win.toggleFullscreen();
}
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment