Browse Source

november init commit

master
morethanwords 4 years ago
parent
commit
a9cb77f4b5
  1. 2
      src/components/appMediaViewer.ts
  2. 2
      src/lib/appManagers/appMessagesIDsManager.ts
  3. 2
      src/lib/mtproto/mtproto_config.ts
  4. 6
      src/scss/partials/_mediaViewer.scss

2
src/components/appMediaViewer.ts

@ -593,7 +593,7 @@ class AppMediaViewerBase<ContentAdditionType extends string, ButtonsAdditionType
await new Promise((resolve) => window.requestAnimationFrame(() => window.requestAnimationFrame(resolve))); await new Promise((resolve) => window.requestAnimationFrame(() => window.requestAnimationFrame(resolve)));
// чтобы проверить установленную позицию - раскомментировать // чтобы проверить установленную позицию - раскомментировать
//throw ''; // throw '';
//await new Promise((resolve) => setTimeout(resolve, 5e3)); //await new Promise((resolve) => setTimeout(resolve, 5e3));

2
src/lib/appManagers/appMessagesIDsManager.ts

@ -81,5 +81,5 @@ export class AppMessagesIDsManager {
} }
const appMessagesIDsManager = new AppMessagesIDsManager(); const appMessagesIDsManager = new AppMessagesIDsManager();
MOUNT_CLASS_TO.appMessagesIDsManager = appMessagesIDsManager; MOUNT_CLASS_TO && (MOUNT_CLASS_TO.appMessagesIDsManager = appMessagesIDsManager);
export default appMessagesIDsManager; export default appMessagesIDsManager;

2
src/lib/mtproto/mtproto_config.ts

@ -16,7 +16,7 @@ export type UserAuth = {
export const App = { export const App = {
id: 1025907, id: 1025907,
hash: '452b0359b988148995f22ff0f4229750', hash: '452b0359b988148995f22ff0f4229750',
version: '0.3.1', version: '0.3.2',
domains: [] as string[], domains: [] as string[],
baseDcID: 2 baseDcID: 2
}; };

6
src/scss/partials/_mediaViewer.scss

@ -263,6 +263,9 @@ $move-duration: .35s;
//object-fit: contain; //object-fit: contain;
opacity: 1; opacity: 1;
/* border-radius: inherit;
transition: $open-duration border-radius; */
//&.thumbnail { //&.thumbnail {
position: absolute; position: absolute;
//z-index: -1; //z-index: -1;
@ -369,7 +372,8 @@ $move-duration: .35s;
} }
&-mover.active &-aspecter { &-mover.active &-aspecter {
transition: $open-duration all; transition: width $open-duration, height $open-duration, transform $open-duration, border-radius $open-duration;
//transition: $open-duration all;
} }
&-whole { &-whole {

Loading…
Cancel
Save