mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-20 18:41:32 +00:00
remove unecassary dirty, don't allow dividers to have mouse input
This commit is contained in:
parent
1a9fe98764
commit
a3d95785d7
2 changed files with 5 additions and 2 deletions
|
@ -378,7 +378,11 @@ namespace MWGui
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!uniform->mHeader.empty())
|
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);
|
fx::Widgets::UniformBase* uwidget = mConfigArea->createWidget<fx::Widgets::UniformBase>("MW_UniformEdit", {0,0,0,22}, MyGUI::Align::Default);
|
||||||
uwidget->init(uniform);
|
uwidget->init(uniform);
|
||||||
|
|
|
@ -148,7 +148,6 @@ namespace MWRender
|
||||||
{
|
{
|
||||||
const auto [w, h] = rt.mSize.get(mWidth, mHeight);
|
const auto [w, h] = rt.mSize.get(mWidth, mHeight);
|
||||||
rt.mTarget->setTextureSize(w, h);
|
rt.mTarget->setTextureSize(w, h);
|
||||||
rt.mTarget->dirtyTextureObject();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue