, __resizeFromRemote(false)
, __updated(false)
, __pixmap(-1)
+ , __first(true)
{
__pLiveboxViewManager = _LiveboxViewManager::GetInstance();
SysTryReturnVoidResult(NID_UI_CTRL, __pLiveboxViewManager, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
_LiveboxView::OnLiveboxPopupViewClosed(void)
{
__pLiveboxPopupView.reset(null);
+ __first = true;
}
void
void
_LiveboxView::OnLiveboxUpdated(const Bitmap& bitmap, const Dimension& size)
{
+ if (__pLiveboxPopupView && __first)
+ {
+ __first = false;
+ return;
+ }
+
__resizeFromRemote = true;
SetSize(size);
__resizeFromRemote = false;