Frame Resize
Forgot to add basalt_resize event for base frames
This commit is contained in:
@@ -835,6 +835,7 @@ return function(name, parent, pTerm, basalt)
|
|||||||
if(autoSize)and not(isMonitor)then
|
if(autoSize)and not(isMonitor)then
|
||||||
if(self.parent==nil)then
|
if(self.parent==nil)then
|
||||||
if(event=="term_resize")then
|
if(event=="term_resize")then
|
||||||
|
self:sendEvent("basalt_resize", self, event, ...)
|
||||||
self:setSize(termObject.getSize())
|
self:setSize(termObject.getSize())
|
||||||
autoSize = true
|
autoSize = true
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user