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) {
|
for(auto& p : controls) {
|
||||||
p.second->draw();
|
p.second->draw();
|
||||||
}
|
}
|
||||||
if(drawFramed) drawFrame(2, frameStyle);
|
drawFrame(2, frameStyle);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cStack::setPage(size_t n) {
|
bool cStack::setPage(size_t n) {
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ class cStack : public cContainer {
|
|||||||
std::string clicking;
|
std::string clicking;
|
||||||
std::vector<std::map<std::string,storage_t>> storage;
|
std::vector<std::map<std::string,storage_t>> storage;
|
||||||
std::map<std::string,cControl*> controls;
|
std::map<std::string,cControl*> controls;
|
||||||
bool drawFramed = false;
|
|
||||||
bool manageFormat(eFormat prop, bool set, boost::any* val) override;
|
bool manageFormat(eFormat prop, bool set, boost::any* val) override;
|
||||||
std::vector<std::vector<std::string>> templates;
|
std::vector<std::vector<std::string>> templates;
|
||||||
std::map<std::string, size_t> templateNames;
|
std::map<std::string, size_t> templateNames;
|
||||||
|
|||||||
Reference in New Issue
Block a user