Fix perf issues zoomed in again
This commit is contained in:
parent
69d9a9e3f1
commit
5fa5a63d1a
3 changed files with 26 additions and 6 deletions
|
|
@ -2371,7 +2371,7 @@ TEST_CASE("ZoomGraphicsView wheel zoom honors sensitivity and zero delta") {
|
|||
REQUIRE(view.transform().m11() == Catch::Approx(beforeFlat));
|
||||
}
|
||||
|
||||
TEST_CASE("ZoomGraphicsView updateProxyCacheMode toggles proxy and leaves connection uncached") {
|
||||
TEST_CASE("ZoomGraphicsView updateProxyCacheMode toggles proxy and connection cache") {
|
||||
auto tc = TestClient::Create();
|
||||
if (!tc.available()) { SUCCEED("PipeWire unavailable"); return; }
|
||||
ensureApp();
|
||||
|
|
@ -2393,7 +2393,7 @@ TEST_CASE("ZoomGraphicsView updateProxyCacheMode toggles proxy and leaves connec
|
|||
view.setupScale(1.6);
|
||||
view.updateProxyCacheMode();
|
||||
REQUIRE(proxy->cacheMode() == QGraphicsItem::DeviceCoordinateCache);
|
||||
REQUIRE(connection->cacheMode() == QGraphicsItem::NoCache);
|
||||
REQUIRE(connection->cacheMode() == QGraphicsItem::DeviceCoordinateCache);
|
||||
|
||||
view.setupScale(1.0);
|
||||
view.updateProxyCacheMode();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue