mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-01 04:36:41 +00:00
Merge branch 'no_input' into 'master'
[Postprocessing] Take away mouse input from headers, remove unnecessary dirty See merge request OpenMW/openmw!1965
This commit is contained in:
commit
e78d36ff50
2 changed files with 5 additions and 2 deletions
|
@ -378,7 +378,11 @@ namespace MWGui
|
|||
continue;
|
||||
|
||||
if (!uniform->mHeader.empty())
|
||||
mConfigArea->createWidget<Gui::AutoSizedTextBox>("MW_UniformGroup", {0,0,0,34}, MyGUI::Align::Default)->setCaption(uniform->mHeader);
|
||||
{
|
||||
Gui::AutoSizedTextBox* divider = mConfigArea->createWidget<Gui::AutoSizedTextBox>("MW_UniformGroup", {0,0,0,34}, MyGUI::Align::Default);
|
||||
divider->setNeedMouseFocus(false);
|
||||
divider->setCaption(uniform->mHeader);
|
||||
}
|
||||
|
||||
fx::Widgets::UniformBase* uwidget = mConfigArea->createWidget<fx::Widgets::UniformBase>("MW_UniformEdit", {0,0,0,22}, MyGUI::Align::Default);
|
||||
uwidget->init(uniform);
|
||||
|
|
|
@ -148,7 +148,6 @@ namespace MWRender
|
|||
{
|
||||
const auto [w, h] = rt.mSize.get(mWidth, mHeight);
|
||||
rt.mTarget->setTextureSize(w, h);
|
||||
rt.mTarget->dirtyTextureObject();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue