scrolling: Remove redundant workspace check (#506)

This commit is contained in:
Liam Hanrahan 2025-10-10 20:39:56 -04:00 committed by GitHub
parent 5cf12b0fa1
commit f6dd103dfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -275,7 +275,7 @@ SP<SColumnData> SWorkspaceData::atCenter() {
void SWorkspaceData::recalculate(bool forceInstant) {
static const auto PFSONONE = CConfigValue<Hyprlang::INT>("plugin:hyprscrolling:fullscreen_on_one_column");
if (!workspace || !workspace) {
if (!workspace) {
Debug::log(ERR, "[scroller] broken internal state on workspace data");
return;
}