The desk is as high as the screen shows of it
On a screen taller than 16:9 the career's desk offers its lower rows for widgets and icons (up to 4:3). A stored layout may use the greatest height; objects a shorter screen cannot show are moved back into sight. Property names read as nouns throughout the bank. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
e3edd2f9ed
commit
b3e5ef4b4d
7 files changed
+82
-6
No files matched your search
@@ -92,7 +92,7 @@ void App::drag_event(Rml::Event &event) {
|
||||
const double left = std::clamp(drag_.left + (x - drag_.x) / scale_, 0.0,
|
||||
3840.0 - o.value("w", 224));
|
||||
const double top = std::clamp(drag_.top + (y - drag_.y) / scale_, 224.0,
|
||||
2160.0 - o.value("h", 224));
|
||||
double(desktop_height()) - o.value("h", 224));
|
||||
o["x"] = left;
|
||||
o["y"] = top;
|
||||
if (auto *n = element("object-" + drag_.id)) {
|
||||
|
||||
Reference in new issue
Block a user