diff options
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llchathistory.cpp | 2 | ||||
-rw-r--r-- | indra/newview/llmediactrl.cpp | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index 271ee0c4a4..e933770601 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -586,7 +586,7 @@ void LLChatHistory::initFromParams(const LLChatHistory::Params& p) LLLayoutStack::Params layout_p; layout_p.rect = stack_rect; layout_p.follows.flags = FOLLOWS_ALL; - layout_p.orientation = "vertical"; + layout_p.orientation = LLLayoutStack::VERTICAL; layout_p.mouse_opaque = false; LLLayoutStack* stackp = LLUICtrlFactory::create<LLLayoutStack>(layout_p, this); diff --git a/indra/newview/llmediactrl.cpp b/indra/newview/llmediactrl.cpp index cdbcee2668..54c7d361b7 100644 --- a/indra/newview/llmediactrl.cpp +++ b/indra/newview/llmediactrl.cpp @@ -70,7 +70,9 @@ public: Params() : bg_image("bg_image") - {} + { + mouse_opaque = false; + } }; void show(); @@ -107,7 +109,7 @@ void LLWindowShade::initFromParams(const LLWindowShade::Params& params) layout_p.rect = LLRect(0,getLocalRect().mTop,getLocalRect().mRight, 30); layout_p.follows.flags = FOLLOWS_ALL; layout_p.mouse_opaque = false; - layout_p.orientation = "vertical"; + layout_p.orientation = LLLayoutStack::VERTICAL; LLLayoutStack* stackp = LLUICtrlFactory::create<LLLayoutStack>(layout_p); addChild(stackp); @@ -133,7 +135,7 @@ void LLWindowShade::initFromParams(const LLWindowShade::Params& params) layout_p = LLUICtrlFactory::getDefaultParams<LLLayoutStack>(); layout_p.rect = LLRect(0, 30, 800, 0); layout_p.follows.flags = FOLLOWS_ALL; - layout_p.orientation = "horizontal"; + layout_p.orientation = LLLayoutStack::HORIZONTAL; stackp = LLUICtrlFactory::create<LLLayoutStack>(layout_p); notification_panel->addChild(stackp); |