*** fifr[m] is now known as Guest31 | 09:33 | |
poetaster | attah, soooo, experia 10 ii. I get r <-> b swapping also on that with an image from jolla. pain app. | 14:15 |
---|---|---|
poetaster | on the plus side, I've got filters for qml and opengl. and I implemented undo in paint. | 14:15 |
poetaster | s/pain/paint/ I'm make it painful later. | 15:44 |
attah | poetaster: so how did you test? i pressed the image icon, and it seems what happens is i got to choose a background - it has correct colors | 16:19 |
poetaster | Ah, wrong button. | 16:20 |
attah | so what button then? | 16:21 |
poetaster | There is the 'background' button and the insert image button. | 16:21 |
attah | i think that is what i did | 16:21 |
poetaster | Insert image is on the toolbar next to the 'T' text tool. | 16:21 |
poetaster | The BG image works because it just put's and image in and Image :) | 16:22 |
attah | gaaah, how do i place it? | 16:22 |
poetaster | Use pinch and push it around :) | 16:22 |
attah | and why do i get tooltips a gazillion times | 16:22 |
attah | but i don't want to x) | 16:22 |
poetaster | yes, you, do. | 16:23 |
attah | but how do i tell it i'm done faffing about? | 16:23 |
poetaster | you just hit the double arrow icon next to the image+ icon when you're done. | 16:23 |
poetaster | it's the same on the filters (gl shaders page). | 16:23 |
attah | so only wehn i place it does the colors swap | 16:24 |
poetaster | eggsactly. | 16:24 |
attah | whereabouts in the code is that? | 16:27 |
poetaster | it's a qml/canvas operation ... sek. | 16:27 |
poetaster | https://github.com/poetaster/paint/blob/fb98bcc5fe219309ba4493f949854cb4b8b5295c/qml/pages/Paint.qml#L457 | 16:29 |
poetaster | leads to: | 16:29 |
poetaster | https://github.com/poetaster/paint/blob/master/qml/components/DrawingCanvas.qml grabbing the whole screen and painting it. | 16:30 |
poetaster | sorry, that's misleading. | 16:31 |
attah | poetaster: any hint on the actual grabbing? | 17:42 |
poetaster | yes. | 17:42 |
poetaster | sorry, too many project tabs :) | 17:43 |
poetaster | https://github.com/poetaster/paint/blob/fb98bcc5fe219309ba4493f949854cb4b8b5295c/qml/components/DrawingCanvas.qml#L225 | 17:46 |
poetaster | the js | 17:47 |
poetaster | https://github.com/poetaster/paint/blob/fb98bcc5fe219309ba4493f949854cb4b8b5295c/qml/code/drawinghelpers.js#L310 | 17:47 |
attah | poetaster: so... i fixed it... not sure exactly why but none the less | 18:05 |
attah | If i convert the image to Format_RGB888 in the ImageProvider... it stays unsmurfed | 18:07 |
poetaster | ah! | 20:27 |
poetaster | attah, so how to we fix that in Label? With richttext :) | 20:30 |
poetaster | PR me please ;) | 20:32 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!