mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-12 04:14:05 +00:00
remove unecassary dirty, don't allow dividers to have mouse input
This commit is contained in:
parent
1a9fe98764
commit
a3d95785d7
@ -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…
x
Reference in New Issue
Block a user