mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 20:55:30 +02:00
* Functional last callers mod
* Notes * Some cleanup
This commit is contained in:
parent
99ea870ebc
commit
4a342ba2fa
8 changed files with 126 additions and 222 deletions
11
core/view.js
11
core/view.js
|
@ -67,7 +67,10 @@ function View(options) {
|
|||
this.setDimension(options.dimens);
|
||||
this.autoScale = { height : false, width : false };
|
||||
} else {
|
||||
this.dimens = { width : 0, height : 0 };
|
||||
this.dimens = {
|
||||
width : options.width || 0,
|
||||
height : 0
|
||||
};
|
||||
}
|
||||
|
||||
// :TODO: Just use styleSGRx for these, e.g. styleSGR0, styleSGR1 = norm/focus
|
||||
|
@ -214,6 +217,12 @@ View.prototype.setPropertyValue = function(propName, value) {
|
|||
*/
|
||||
break;
|
||||
|
||||
case 'resizable' :
|
||||
if(_.isBoolean(value)) {
|
||||
this.resizable = value;
|
||||
}
|
||||
break;
|
||||
|
||||
case 'argName' : this.submitArgName = value; break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue