Added pane rotation profile

This commit is contained in:
MihailRis
2023-12-05 11:13:09 +03:00
parent 788234ab94
commit 81704140a7
5 changed files with 18 additions and 5 deletions
+2
View File
@@ -59,6 +59,8 @@ Block* ContentLoader::loadBlock(string name, path file) {
def->rotatable = profile != "none";
if (profile == "pipe") {
def->rotations = BlockRotProfile::PIPE;
} else if (profile == "pane") {
def->rotations = BlockRotProfile::PANE;
} else if (profile != "none") {
cerr << "unknown rotation profile " << profile << endl;
def->rotatable = false;