Open Eiyeron opened 6 years ago
It looks like the BeginDock function isn't properly returning a boolean. when I use a local
for i = 1, 10 do
local a = imgui.BeginDock("dock_"..i);
if a then
imgui.Text("Hello, dock "..i.."!");
imgui.Text("Hello, dock "..a.."!");
end
print("Hello: "..a);
imgui.EndDock()
end
I get the error that i cannot concatenate a nil value 'a' which shouldn't happen given that the function should return a bool.
I have the same problem, was going crazy here. Couldn't figure out why the error happens.
Same here. BeginDock
doesnt return anything. Have anyone fixed this?
Hi, ive fixed this dock issue in my fork
Now the only issues are:
Hello, I wanted to make a prototype on Love 11.1 and it seems that docks are broken on the master branch. When using docks, nothing in them are visible. No text, button, image... I tested it both on windows and linux versions and nothing changed. One can see barely some garbage one frame or two after clicking on a dock's tab to bring focus on it, but nothing more.
The example code looks like this (don't take account of the deprecation warnings, they're caused by an old loverocks install)![image](https://user-images.githubusercontent.com/936086/43364538-d38366b8-92d0-11e8-8c59-d7e9bd2899b3.png)