Load fonts using FontFaceObserver
This commit is contained in:
parent
4ee035766b
commit
9bc518fbe9
8 changed files with 69 additions and 63 deletions
|
@ -74,12 +74,12 @@ export function fetchMessages() {
|
|||
};
|
||||
}
|
||||
|
||||
export function updateMessageHeight() {
|
||||
return (dispatch, getState) => dispatch({
|
||||
export function updateMessageHeight(wrapWidth, charWidth) {
|
||||
return {
|
||||
type: actions.UPDATE_MESSAGE_HEIGHT,
|
||||
wrapWidth: getState().environment.get('wrapWidth'),
|
||||
charWidth: getState().environment.get('charWidth')
|
||||
});
|
||||
wrapWidth,
|
||||
charWidth
|
||||
};
|
||||
}
|
||||
|
||||
export function sendMessage(content, to, server) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue