mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:17:46 +00:00
Shell: Mark AST::Background as would_execute if its subnode does
This commit is contained in:
parent
2fd9e72264
commit
0676bd4afc
2 changed files with 17 additions and 1 deletions
|
@ -458,6 +458,7 @@ private:
|
|||
virtual void highlight_in_editor(Line::Editor&, Shell&, HighlightMetadata = {}) override;
|
||||
virtual HitTestResult hit_test_position(size_t) override;
|
||||
virtual String class_name() const override { return "Background"; }
|
||||
virtual bool would_execute() const override { return m_command->would_execute(); }
|
||||
|
||||
RefPtr<Node> m_command;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue