Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small bugfixes #88

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions axiom-profiler-GUI/assets/html/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ ul.selected-info {
/* Simple dot-svg view */

.dot {
display: inline-block;
position: relative;
}
.dot.scaled {
Expand Down
4 changes: 3 additions & 1 deletion axiom-profiler-GUI/src/infobars/omnibox/mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,13 +334,15 @@ impl SearchMode {
FocusSearch {
results, select, ..
} => {
if select.is_none() {
commands.can_select(true);
}
let default = PickedSuggestion {
ridx,
choice_idx: None,
};
let new = select.filter(|s| s.ridx == ridx).unwrap_or(default);
*select = Some(new);
commands.can_select(true);

let entry = new.index(results, omnibox);
self.input = entry.search_text.clone();
Expand Down
5 changes: 4 additions & 1 deletion axiom-profiler-GUI/src/screen/inst_graph/filter/apply.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,10 @@ impl Filter {
let rev_graph = graph.raw.rev();
let relevant_non_qi_nodes: Vec<_> = Dfs::new(rev_graph, start)
.iter(rev_graph)
.filter(|nx| graph.raw.graph[*nx].kind().inst().is_none())
// TODO: this is left out for now because the first iteration of a
// matching loop is generally left out by the analysis and this will
// keep it in the displayed view:
// .filter(|nx| graph.raw.graph[*nx].kind().inst().is_none())
.filter(|nx| {
let node = &graph.raw.graph[*nx];
nodes_of_nth_matching_loop
Expand Down
2 changes: 1 addition & 1 deletion axiom-profiler-GUI/src/utils/split_div.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl Component for SplitDiv {
let style_right = format!(
"width:calc({}% - {}px); height:100%;",
inverse * 100.0,
middle_width * position
middle_width * inverse
);
let mut children = ctx.props().children.iter();
html! {
Expand Down
Loading