зеркало из https://github.com/mozilla/pjs.git
Fixes spurious drawing of the security icon.
This commit is contained in:
Родитель
30e6380302
Коммит
e16207cbed
|
@ -133,7 +133,9 @@ void CButton::Draw(RgnHandle inSuperDrawRgnH)
|
|||
|
||||
StColorPenState thePenSaver;
|
||||
StColorPenState::Normalize();
|
||||
|
||||
|
||||
// beard: this doesn't work if parent is also double buffering.
|
||||
#if 0
|
||||
// Fail safe offscreen drawing
|
||||
StValueChanger<EDebugAction> okayToFail(UDebugging::gDebugThrow, debugAction_Nothing);
|
||||
try
|
||||
|
@ -153,6 +155,7 @@ void CButton::Draw(RgnHandle inSuperDrawRgnH)
|
|||
{
|
||||
// & draw onscreen
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!bDidDraw)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче