Kaydet (Commit) 99635ea0 authored tarafından Jan Holesovsky's avatar Jan Holesovsky Kaydeden (comit) Andras Timar

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 375534d4
......@@ -287,6 +287,12 @@ public:
case CTRL_CHECKBOX:
case CTRL_RADIOBUTTON:
return false;
case CTRL_MENUBAR:
if (mnPart == PART_ENTIRE_CONTROL)
return false;
break;
default:
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