mirror of
https://github.com/aseprite/aseprite.git
synced 2024-09-02 04:59:24 +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" />
|
||||
</buttonset>
|
||||
</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" />
|
||||
<splitter vertical="true" noborders="true" childspacing="2" expansive="true">
|
||||
<vbox id="stack_part">
|
||||
|
@ -402,6 +402,8 @@ public:
|
||||
onEvalExpression(expr);
|
||||
});
|
||||
|
||||
mainArea()->setVisible(false);
|
||||
|
||||
sourcePlaceholder()->attachToView(&m_sourceViewer);
|
||||
sourcePlaceholder()->setVisible(false);
|
||||
|
||||
@ -618,6 +620,7 @@ public:
|
||||
updateControls();
|
||||
|
||||
if (m_state == State::WaitingNextCommand) {
|
||||
mainArea()->setVisible(true);
|
||||
sourcePlaceholder()->setVisible(true);
|
||||
stackPlaceholder()->setVisible(true);
|
||||
layout();
|
||||
|
Loading…
Reference in New Issue
Block a user