Skip to content

Commit

Permalink
drop github file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
toddtarsi committed Jan 15, 2024
1 parent 766d617 commit ab02b81
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/selenium-ide/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "selenium-ide",
"version": "4.0.1-alpha.76",
"version": "4.0.1-alpha.77",
"private": false,
"description": "Selenium IDE electron app",
"author": "Todd <[email protected]>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,14 +392,14 @@ export default class WindowsController extends BaseController {
positionKey: string
) {
this.arrangeWindow(window, sizeKey, positionKey)
window.on('moved', () => {
const recalculateEverything = () => {
const position = window.getPosition() as [number, number]
this.session.store.set(positionKey as any, position)
})
window.on('resize', () => {
const size = window.getSize() as [number, number]
this.session.store.set(sizeKey as any, size)
})
};
window.on('moved', recalculateEverything)
window.on('resize', recalculateEverything)
}

async onProjectLoaded() {
Expand Down
7 changes: 2 additions & 5 deletions packages/side-api/src/commands/menus/openSync.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import { MenuNames } from "./open"
import { MenuNames } from './open'

export type Type = 'Handler'
/**
* Opens one of our available menu types, and returns the name of the selected option.
*/
export type Shape = (
name: MenuNames,
...args: any[]
) => Promise<any>
export type Shape = (name: MenuNames, ...args: any[]) => Promise<any>

0 comments on commit ab02b81

Please sign in to comment.