Fix stacks not drawing a frame even if requested
This commit is contained in:
@@ -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) {
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user