Notify the tree when the container was probably resized.
This commit is contained in:
parent
898210065e
commit
7c289beba5
4 changed files with 32 additions and 1 deletions
|
@ -136,6 +136,14 @@ ImageHistoryTree.prototype.draw = function(container) {
|
|||
};
|
||||
|
||||
|
||||
/**
|
||||
* Redraws the image history to fit the new size.
|
||||
*/
|
||||
ImageHistoryTree.prototype.notifyResized = function() {
|
||||
console.log('Image history container resized.');
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Sets the current tag displayed in the tree.
|
||||
*/
|
||||
|
|
Reference in a new issue