Commit Graph

483 Commits

Author SHA1 Message Date
Nicola
f9a87cc46e Final refinements 2022-10-24 13:06:41 +02:00
Nicola
e51f510392 Merge branch 'master' into pxlvxl-master 2022-10-24 12:48:08 +02:00
Nicola
9e250c015e Added willReadFrequently attribute 2022-10-24 12:40:34 +02:00
Nicola
dca2748a4e Added back advanced color picker support 2022-10-24 12:35:23 +02:00
Nicola
3b83727c73 Added buttons to colour menu
Added buttons to add, remove, zoom in and zoom out. Also implemented palette zooming
2022-10-24 12:11:40 +02:00
Nicola
9eba2f6fd7
Merge pull request #102 from NSSure/master
Added file option to import image to current layer
2022-10-22 12:43:14 +02:00
NSSure
854a937da5 Init flag to prevent duplicate window events 2022-10-22 06:02:00 -04:00
NSSure
2e8f3f414b Removed test code updating palette 2022-10-22 05:48:34 -04:00
NSSure
b8d1f11f93 Added ability to select import position 2022-10-22 05:46:48 -04:00
Nicola
9923582079
Merge pull request #99 from blueprismo/new-feature
feat: Add Dockerfile
2022-10-21 11:17:33 +02:00
NSSure
eb139ef8e7 Reset import image window on open 2022-10-21 04:18:10 -04:00
NSSure
02806c7efa Added file option to import image to current layer 2022-10-21 03:52:55 -04:00
Nicola
f31fd5b505 Attempted to resize palette squares on scroll 2022-10-06 11:20:09 +02:00
Nicola
7672a034c8 Fixed canvas-view being a div and not a canvas 2022-10-06 10:16:19 +02:00
Nicola
dfa3742003 Fixed z-index issue 2022-10-06 10:13:22 +02:00
Enin Kaduk
fd1eb463bb feat: Add Dockerfile 2022-10-06 08:09:19 +02:00
skeddles
14d5048756 updated help to reflect current zoom ability 2022-10-03 13:56:06 -04:00
Nicola
def465fc50
Merge pull request #95 from hacknorris-aka-penguin/master
license fix
2022-10-02 16:29:32 +02:00
Neo
c1c981a6c9
Update README.md 2022-10-02 16:25:02 +02:00
skeddles
2e8aac2896 released under GPL-3 2022-09-19 10:56:16 -04:00
Nicola
8a42ddd571
Merge pull request #92 from matthewd673/master
Only register export click event once (#89)
2022-08-25 19:58:56 +02:00
Matthew Daly
1a6b8320e1 Fix canvasSize undefined 2022-08-24 00:34:19 -04:00
Matthew Daly
45016fbea1 Only register export click event once (#89) 2022-08-23 23:04:18 -04:00
Jaman Brundage
0c0fef1f40 Merge branch 'master' of https://github.com/pxlvxl/pixel-editor 2022-03-23 08:48:10 -04:00
Jaman Brundage
12a3283790 another push
Fixed issue with color saving
Redesigned color select section
2022-03-23 08:47:57 -04:00
pxlvxl
f367474b16
Update package.json 2022-03-13 12:56:35 -04:00
Sam Keddy
6ec80cf410 fixed links to css/js urls
this should hopefully make it so the css js files are properly loaded when on the apps site. I also made it so the build file only compiles pixel-editor.js since it was compiling everything in the folder for no reason
2022-03-04 14:33:42 -05:00
pxlvxl
5f09ceddcf push7 2022-02-27 09:44:16 -05:00
pxlvxl
bc7561b72d push6 2022-02-27 09:20:08 -05:00
pxlvxl
fedca8f95e push5 2022-02-27 09:14:42 -05:00
pxlvxl
e4228f19c6 push4
fixed tool tutorial blocking canvas
2022-02-25 14:51:01 -05:00
pxlvxl
6ac04e5338 push3 2022-02-25 14:06:44 -05:00
pxlvxl
012f96ae8d push2 2022-02-25 09:49:30 -05:00
pxlvxl
ca32746d48 Merge branch 'master' of https://github.com/pxlvxl/pixel-editor 2022-02-23 11:52:41 -05:00
pxlvxl
f499662afc Various changes
- added `/:paletteSlug/:resolution` functionality for localhost testing
	- created `currFile.sublayers` for *things that should zoom with the canvas layers*
	- `currFile.layers` now solely contains the canvas layers
	- added `getProjectData` to `FileManager`'s exported methods
	---
	- added `FileManager.localStorageSave` (it's basically just: localStorage.setItem("lpe-cache",FileManager.getProjectData()))
	- added `FileManager.localStorageCheck` (it's basically just: `!!localStorage.getItem("lpe-cache")`)
	- added `FileManager.localStorageLoad` (it's basically just: `return localStorage.getItem("lpe-cache")`)
	- added `FileManager.localStorageReset` (for debugging purity)
	---
	- calling `FileManager.localStorageSave()` on mouse up (we should stress test this)
	---
	- changed lpe file format to `{canvasWidth:number,canvasHeight:number,selectedLayer:number,colors:[],layers:[]}`
	- added backward compatibility for the old lpe file format
	---
	- added some canvas utility functions in `canvas_util`
	- added Unsettled's color similarity utility functions in `color_util2`
	---
	- html boilerplate - wang tiles
	-
	- POC - tiny text boilerplate
	- POC - tiny text font scraper
	---
	- WIP - added two optional url route parameters `/:paletteSlug/:resolution/:prefillWidth/:prefillBinaryStr`
	- WIP POC - hbs_parser.js (outputs tree data about hbs file relationships)
2022-02-23 11:36:15 -05:00
pxlvxl
a1757553cf Various changes
- added `/:paletteSlug/:resolution` functionality for localhost testing
	- created `currFile.sublayers` for *things that should zoom with the canvas layers*
	- `currFile.layers` now solely contains the canvas layers
	- added `getProjectData` to `FileManager`'s exported methods
	---
	- added `FileManager.localStorageSave` (it's basically just: localStorage.setItem("lpe-cache",FileManager.getProjectData()))
	- added `FileManager.localStorageCheck` (it's basically just: `!!localStorage.getItem("lpe-cache")`)
	- added `FileManager.localStorageLoad` (it's basically just: `return localStorage.getItem("lpe-cache")`)
	- added `FileManager.localStorageReset` (for debugging purity)
	---
	- calling `FileManager.localStorageSave()` on mouse up (we should stress test this)
	---
	- changed lpe file format to `{canvasWidth:number,canvasHeight:number,selectedLayer:number,colors:[],layers:[]}`
	- added backward compatibility for the old lpe file format
	---
	- added some canvas utility functions in `canvas_util`
	- added Unsettled's color similarity utility functions in `color_util2`
	---
	- html boilerplate - wang tiles
	-
	- POC - tiny text boilerplate
	- POC - tiny text font scraper
	---
	- WIP - added two optional url route parameters `/:paletteSlug/:resolution/:prefillWidth/:prefillBinaryStr`
	- WIP POC - hbs_parser.js (outputs tree data about hbs file relationships)
2022-02-23 11:16:23 -05:00
Nicola
40299853ca Fixed tool tutorials preventing user to draw under them even when hidden 2022-02-05 18:35:51 +01:00
Nicola
7b6a67ac32
Merge pull request #75 from lospec/next-update
Lasso, Magic Wand, Ellipse
2022-02-04 22:18:32 +01:00
Nicola
953dc40bc4 Fixed bugs
Hid brush size arrows in firefox, let the user cancel a selection by clicking outside the canvas, fixed lasso tool not detecting the selection if ending it outside the canvas.
2022-02-04 22:13:11 +01:00
Nicola
c464b50aa1 Updated splash page 2022-01-31 23:50:18 +01:00
Nicola
c5ede4cc69 Fixed selection tools dragging when the cursor is not in the selection 2022-01-31 23:17:15 +01:00
Nicola
cdabbb4a5c Added tool size in the top bar 2022-01-31 23:12:28 +01:00
Nicola
82aa5ab114 Fixed topbar css
Aded InputComponents.js to take care (dynamically create, add events) of input elements.
2022-01-31 00:16:27 +01:00
Nicola
79a3c07b82 Fixed ellipse bug, fixed brush size bug 2022-01-30 22:53:59 +01:00
Nicola
edf5d77ffd Finished tooltorials 2022-01-30 00:09:43 +01:00
Nicola
428ffe80f8 Fixed #82 2022-01-29 21:36:25 +01:00
Nicola
b616579c65 Continued tool tutorials
Also fixed fill tool history bug
2022-01-25 23:47:01 +01:00
Nicola
238f313fdc Merge branch 'next-update' of https://github.com/lospec/pixel-editor into next-update 2022-01-25 00:33:25 +01:00
Nicola
2e360dcf51 Started tool tutorials 2022-01-25 00:33:23 +01:00
Nicola
b5e33e3f34 Fixed magic wand bug, started tool tutorials
Multiplied by canvas height instead of canvas width when computing the index of a pixel.
2022-01-25 00:28:24 +01:00