mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 03:32:48 +00:00
Add main_area in debugger window to show only the buttons initially
This commit is contained in:
parent
93cb0d3b51
commit
6dd128d637
@ -14,7 +14,7 @@
|
|||||||
<item icon="debug_breakpoint" tooltip="@.toggle_breakpoint" tooltip_dir="bottom" />
|
<item icon="debug_breakpoint" tooltip="@.toggle_breakpoint" tooltip_dir="bottom" />
|
||||||
</buttonset>
|
</buttonset>
|
||||||
</hbox>
|
</hbox>
|
||||||
<splitter horizontal="true" noborders="true" childspacing="2" expansive="true">
|
<splitter id="main_area" horizontal="true" noborders="true" childspacing="2" expansive="true">
|
||||||
<view id="source_placeholder" />
|
<view id="source_placeholder" />
|
||||||
<splitter vertical="true" noborders="true" childspacing="2" expansive="true">
|
<splitter vertical="true" noborders="true" childspacing="2" expansive="true">
|
||||||
<vbox id="stack_part">
|
<vbox id="stack_part">
|
||||||
|
@ -402,6 +402,8 @@ public:
|
|||||||
onEvalExpression(expr);
|
onEvalExpression(expr);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
mainArea()->setVisible(false);
|
||||||
|
|
||||||
sourcePlaceholder()->attachToView(&m_sourceViewer);
|
sourcePlaceholder()->attachToView(&m_sourceViewer);
|
||||||
sourcePlaceholder()->setVisible(false);
|
sourcePlaceholder()->setVisible(false);
|
||||||
|
|
||||||
@ -618,6 +620,7 @@ public:
|
|||||||
updateControls();
|
updateControls();
|
||||||
|
|
||||||
if (m_state == State::WaitingNextCommand) {
|
if (m_state == State::WaitingNextCommand) {
|
||||||
|
mainArea()->setVisible(true);
|
||||||
sourcePlaceholder()->setVisible(true);
|
sourcePlaceholder()->setVisible(true);
|
||||||
stackPlaceholder()->setVisible(true);
|
stackPlaceholder()->setVisible(true);
|
||||||
layout();
|
layout();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user