nkh / P5-App-Asciio

Plain ASCII diagram
https://nkh.github.io/P5-App-Asciio/
55 stars 4 forks source link

Single letter text difficult to move #161

Closed nkh closed 10 months ago

nkh commented 10 months ago

Since it's one character, asciio resized it instead for moving it

qindapao commented 10 months ago

@nkh become shrink box we can move.You have optimized the movement of single-character boxes before. The connectors are them.

I have a simple idea, and I wanted to discuss it with you after the zbuffer crossover was fully realized.

But you mentioned it here. I said it by the way.I call it painting mode.Every single-character element(Single character shrink box and does not contain connection points) is a pixel.We can draw pictures conveniently by using clone mode.For example, draw a cat or a pair of shoes.The stencial after painting is a lot of boxes with single characters, which is inconvenient to use.Although we can be combined by using strip group.But it will use more space(memory space and hard disk space).If these pixels can be combined into a simple box,It may be more convenient to use and save.If the user wants to edit again,We provide a method to split the box into pixel boxes.Then they use the clone mode or various groups to re-create.

It can be easily realized with zbuffer.What do you think of this function?

Of course, turning into a box(or TEXT) is not limited to pixels, and can be any element that the user wants to change.And then split into pixels is certain.This operation is dangerous and destroy the original elements.So users need to know what they are doing.

Or the merged element is not a box, but an element similar to strips group. strips is saved, but there is no original element. After breaking up, it becomes many pixels.Only used for stencials making.

qindapao commented 10 months ago

@nkh Maybe you have a better idea about painting mode.Or you don't like it.

qindapao commented 10 months ago

If we see a stencil we like online, we can also edit it again by breaking it into pixels.Without directly editing its text.

nkh commented 10 months ago

@qindapao I'm OK with an ASCII art mode. Also the possibility to transform any text into a box content directly in Asciio is a good idea.

We need to have a separate issue for it with a bit more details.

nkh commented 10 months ago

Only single character elements created by "create multiple text" have this problem, single characters elements created indivudally have the opposite problem they can be moved but not resized.

qindapao commented 10 months ago

@nkh Oh, that's exactly what you said.

qindapao commented 10 months ago

@nkh I'll think about the ascii art mode again.

Maybe we need an eraser and an element selection lock sleeve (non-rectangular selection)

I'll reopen an issue when I think about it.

nkh commented 10 months ago

Fixed in 504fd11