fix framed top border

This commit is contained in:
Stewart Allen 2026-03-03 12:04:39 -05:00
commit 0b3c0b929a
5 changed files with 12 additions and 12 deletions

View file

@ -53,6 +53,7 @@ Move sketch solving to a clean planegcs-first architecture, remove dual-solver b
3. Add deterministic logs for tangent constraint path selection.
Exit Criteria:
1. We can observe when and why fallback is invoked.
## Phase 2: Temporary Drag Constraints
@ -62,6 +63,7 @@ Exit Criteria:
3. Keep fallback only if planegcs solve fails or returns non-converged status.
Exit Criteria:
1. Drag no longer “snaps back” from dual-pass disagreement.
2. Solver path during normal drag is planegcs-only.
@ -73,6 +75,7 @@ Exit Criteria:
3. Keep old tangent fallback path behind a temporary feature flag for rollback.
Exit Criteria:
1. Tangent drag corner cases no longer require tangent-specific fallback aggressiveness.
2. Shared-endpoint tangent cases are stable under repeated edits/drag.
@ -83,6 +86,7 @@ Exit Criteria:
3. Keep compatibility switch (`constraints_v2_force_fallback`) for emergency rollback.
Exit Criteria:
1. Single primary solver behavior in normal operation.
2. Fewer constraint jitter/regressions from solver disagreement.
@ -93,6 +97,7 @@ Exit Criteria:
3. Document canonical constraint mapping table and temporary-constraint rules.
Exit Criteria:
1. Constraint code paths are materially simpler and easier to reason about.
## Proposed Code Touchpoints

View file

@ -120,7 +120,9 @@ export async function init_sync() {
setup_keybd_nav();
// show topline separator when iframed
try { if (WIN.self !== WIN.top) $('top-sep').style.display = 'flex' } catch (e) { console.log(e) }
if (WIN.self !== WIN.top) {
$('menubar').classList.add('top');
}
// warn users they are running a beta release
if (beta && beta > 0 && sdb.kiri_beta != beta) {

View file

@ -905,14 +905,6 @@ details[open] summary::after {
.widopt button.disabled {
background-color: var(--blue-3);
}
#top-sep {
display: none;
z-index: 14;
height: 1px;
min-height: 1px;
max-height: 1px;
background-image: var(--gradbar);
}
.line-sep2 {
z-index: 14;
height: 1px;

View file

@ -45,9 +45,6 @@
<!-- hide page contents and provide loading message during initialization -->
<div id="curtain" class="j-center a-center"><img id="loading">Kiri:Moto is Loading</div>
<!-- when running iframed, provide a separator between the menu bar and enclosing page -->
<div id="top-sep" class="el-app-hide"></div>
<!-- top menu bar -->
<div id="menubar" class="f-row"></div>

View file

@ -8,6 +8,10 @@
border-bottom: 1px solid var(--border-gray);
}
#menubar.top{
border-top: 1px solid var(--border-gray);
}
.menubar-separator {
align-self: stretch;
align-items: center;