add new overlay

This commit is contained in:
igoroctaviano committed 2020-06-29 18:05:52 -03:00
1 parent 4c7e3f95fe
commit 9e2ed50e79
5 files changed
+118 -3

No files matched your search

@@ -27,6 +27,15 @@ export default class ToolBarService {
return this.buttons;
}
getActiveTools() {
return Object.keys(this.buttons).filter(key => {
const button = this.buttons[key];
if (button && button.props && button.props.isActive) {
return button;
}
});
}
setButtons(buttons) {
this.buttons = buttons;
this._broadcastChange(this.EVENTS.TOOL_BAR_MODIFIED, {});
+2
View File
@@ -328,6 +328,8 @@ module.exports = {
'0': '0',
auto: 'auto',
full: '100%',
viewport: '0.5rem',
'viewport-scrollbar': '1.3rem'
},
letterSpacing: {
tighter: '-0.05em',