fix(B05 평면 표지 층): 곡선 R 창 · 등고선 자물쇠 층 3 → 1 — 도구줄 · 횡단 판(2) 밑 · [되돌리기] 누름 안 가로챔 (401-3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Se7ytqbohmBQnfYpwYFnYf
This commit is contained in:
@@ -410,7 +410,7 @@
|
||||
.b05-routeedit__label {
|
||||
/* 편집 칸 안 절대 위치(345-3) — 자리는 지도 칸 안으로 가둔다(`_Label`). */
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
z-index: 1; /* 지도 위 표지 층 — 도구줄 · 횡단 판(2) 밑(401-3) */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* 평면 등고선 자물쇠(353-2) — 커서 옆에 뜨는 작은 단추 · 자리는 `_ContourLock.ts` 가 잡음. */
|
||||
.b05-contourlock {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
z-index: 1; /* 지도 위 표지 층 — 도구줄 · 횡단 판(2) 밑(401-3) */
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
"""401-3 평면 곡선 R 창 · 등고선 자물쇠가 도구줄 [되돌리기] 를 덮어 누름이 안 가던 것.
|
||||
|
||||
지도 위 표지 층(1) < 도구줄 · 횡단 판 층(2) — 표지가 도구줄 · 판 손잡이 누름을 안 가로챔.
|
||||
./venv/Scripts/python.exe -m pytest resources/tester/test_401_3_plan_label_under_tools.py -q
|
||||
"""
|
||||
|
||||
import re
|
||||
from pathlib import Path
|
||||
|
||||
B05 = Path(__file__).resolve().parents[2] / "B05_Profile"
|
||||
|
||||
|
||||
def _z(css_name: str, selector: str) -> int:
|
||||
css = (B05 / css_name).read_text(encoding="utf-8")
|
||||
block = css.split(selector + " {", 1)[1].split("}", 1)[0]
|
||||
return int(re.search(r"z-index:\s*(\d+)", block).group(1))
|
||||
|
||||
|
||||
def test_표지는_도구줄_판_밑():
|
||||
tools = _z("B05_Profile_UI_Style.css", ".b05-route__view-controls")
|
||||
side = _z("B05_Profile_UI_Style_RouteEdit.css", ".b05-routeedit__side-wrap")
|
||||
label = _z("B05_Profile_UI_Style_RouteEdit.css", ".b05-routeedit__label")
|
||||
lock = _z("B05_Profile_UI_Style_RouteEdit_ContourLock.css", ".b05-contourlock")
|
||||
assert label < tools and lock < tools
|
||||
assert label < side and lock < side
|
||||
Reference in New Issue
Block a user