I just saw I am not the only one, who encountered this problem. But I am on a Windows 10 PC here. Still it took me almost a day to shrink my instrument down to just these lines, to find the problem. This code works if started as an instrument only, but it crashes AM without any error message, if started as part of a panel:
Code: Select all
local h
h = canvas_add(255, 29, 100, 120, function()
_rect(0, 0, 30, 46, 15)
-- _fill("green")
_fill_gradient_linear(0, 10, 30, 40, "#ffffffff", "#606060ff")
end)
I think this is an AM fault.
Thank you
Detlef