Fixed clipboard paste position and added back item count to debug menu

This commit is contained in:
Yousef Khadadeh 2025-12-29 20:11:24 +03:00
parent fb3b13d303
commit a3fb87332b
4 changed files with 16 additions and 2 deletions

View file

@ -1228,6 +1228,7 @@ void Toolbar::performance_metrics() {
std::stringstream a;
a << "FPS: " << std::fixed << std::setprecision(0) << (1.0 / main.deltaTime);
gui.text_label(a.str());
gui.text_label("Item Count: " + std::to_string(main.world->drawProg.layerMan.get_layer_root().get_component_count()));
std::stringstream b;
b << "Coord: " << main.world->drawData.cam.c.pos.x().display_int_str(5) << ", " << main.world->drawData.cam.c.pos.y().display_int_str(5);
gui.text_label(b.str());