GTK: clip any editors instead of resizing GraphicsWindow.
Such resizing may well get us past OpenGL's maximum texture size and break rendering.
This commit is contained in:
parent
daee939714
commit
d13e29cdaf
|
@ -368,6 +368,8 @@ private:
|
|||
class EditorOverlay : public Gtk::Fixed {
|
||||
public:
|
||||
EditorOverlay(Gtk::Widget &underlay) : _underlay(underlay) {
|
||||
set_size_request(0, 0);
|
||||
|
||||
add(_underlay);
|
||||
|
||||
_entry.set_no_show_all(true);
|
||||
|
|
Loading…
Reference in New Issue
Block a user