nanogui icon indicating copy to clipboard operation
nanogui copied to clipboard

Make Widget::set_size() virtual

Open mode777 opened this issue 1 year ago • 1 comments

Disclaimer: I know very little about C++. That said: set_size() is overridden in Screen but set_size() was not marked as virtual leading to the overridden method not being called correctly. Adding the virtual keyword fixes the issue for me.

mode777 avatar Feb 04 '24 12:02 mode777