mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2025-12-24 08:50:03 +01:00
scrolling: Remove redundant workspace check (#506)
This commit is contained in:
parent
5cf12b0fa1
commit
f6dd103dfb
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue