The program a build should target: the parent if a fragment (helper module / kernel module) is selected, otherwise the selected program itself. A fragment only links as part of its parent, so every build path resolves through here.
(&self)
| 610 | if response.drag_stopped() { |
| 611 | self.layout.tool_window_drag_start = None; |
| 612 | } |
| 613 | |
| 614 | draw_separator( |
| 615 | ui, |
| 616 | edge_x, |
| 617 | sep_top, |
| 618 | rect.bottom(), |
| 619 | response.hovered() || response.dragged(), |
| 620 | ); |
| 621 | } |
| 622 | |
| 623 | pub(super) fn build_active_document(&mut self, now: f64) { |
| 624 | let config = self.selected_config().cloned(); |
| 625 | let has_config = config.is_some(); |
| 626 | let target_name = config |
| 627 | .as_ref() |
| 628 | .and_then(|config| self.config_root(config)) |
| 629 | .map(|path| path.to_string()) |