Feature/source plugins #1
No files matched your search
Vendored
+1
-1
Submodule deps/plotter updated: e5b7faadec...73f610b136.
@@ -424,7 +424,7 @@ Two lines of the self-check output are assertions in disguise:
|
||||
the group, because `hold_pinned_window()` prefers a member that has moved since `pinned_stated_`
|
||||
— that is how it tells a gesture from its own echo — so a fit that wrote the group alone reads
|
||||
back as the zoomed range one frame later.
|
||||
- `[layout-probe] <action> rows=N buttons=B done=D done_box=[x,y,WxH] rows_y=[..] close=[..] add=[..] traces=[..] cells=[..] colweights=[..]`
|
||||
- `[layout-probe] <action> rows=N buttons=B done=D done_box=[x,y,WxH] rows_y=[..] close=[..] add=[..] resize=[..] traces=[..] side_w=S cells=[..] colweights=[..]`
|
||||
`side_w` is the sidebar column's width and **must be its own request (280), never 0**: it read 0 while
|
||||
the divider sat at the window's right edge, which is a panel that is not there. It was 280 during the
|
||||
first frames and 0 once the window had settled, so read it from a `placed` line rather than the first.
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "layout_store.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
@@ -619,7 +620,7 @@ bool load_layout(const std::string& path, LayoutState& out) {
|
||||
}
|
||||
} else if (key == "width") {
|
||||
const double w = std::strtod(value.c_str(), nullptr);
|
||||
if (w > 0.0) st.rows.back().width = w;
|
||||
if (std::isfinite(w) && w > 0.0) st.rows.back().width = w;
|
||||
}
|
||||
} else if (section == Section::Math && !st.math.empty()) {
|
||||
MathChannel& m = st.math.back();
|
||||
|
||||
+1
-1
@@ -442,7 +442,7 @@ struct TourStep {
|
||||
constexpr TourStep kTourSteps[] = {
|
||||
{"plot", nullptr, "The plot",
|
||||
"Every signal you have switched on is drawn here, all plots sharing one time axis. The wheel "
|
||||
"zooms, a drag pans, and a right-click on a row opens that plot's own menu.",
|
||||
"zooms, a drag pans, and a right-click on a plot opens that plot's own menu.",
|
||||
&App::area_overlay},
|
||||
{"badges", nullptr, "The badges",
|
||||
"Setup is reached by the thing it configures. A badge per signal opens that signal's colour, "
|
||||
|
||||
Reference in new issue
Block a user