Kaydet (Commit) d8212cc7 authored tarafından Jan Holesovsky's avatar Jan Holesovsky Kaydeden (comit) Michael Meeks

opengl: Don't cache the menubar background.

It can change based on the _toolbar_ size.  The toolbar itself is fine though;
it may depend on the menubar size, but that should be constant.

Change-Id: Id2c68c89f4ec0774bc74b8c4a5b9a5e59e22137f
Reviewed-on: https://gerrit.libreoffice.org/18279Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
üst 39312d64
...@@ -287,6 +287,12 @@ public: ...@@ -287,6 +287,12 @@ public:
case CTRL_CHECKBOX: case CTRL_CHECKBOX:
case CTRL_RADIOBUTTON: case CTRL_RADIOBUTTON:
return false; return false;
case CTRL_MENUBAR:
if (mnPart == PART_ENTIRE_CONTROL)
return false;
break;
default: default:
break; break;
} }
......
Markdown is supported
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