Fix stacks not drawing a frame even if requested

This commit is contained in:
2025-02-26 22:27:44 -05:00
committed by Celtic Minstrel
parent 3af30a88a8
commit e9174de1ae
2 changed files with 1 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ void cStack::draw() {
for(auto& p : controls) {
p.second->draw();
}
if(drawFramed) drawFrame(2, frameStyle);
drawFrame(2, frameStyle);
}
bool cStack::setPage(size_t n) {

View File

@@ -37,7 +37,6 @@ class cStack : public cContainer {
std::string clicking;
std::vector<std::map<std::string,storage_t>> storage;
std::map<std::string,cControl*> controls;
bool drawFramed = false;
bool manageFormat(eFormat prop, bool set, boost::any* val) override;
std::vector<std::vector<std::string>> templates;
std::map<std::string, size_t> templateNames;