You are not logged in.

1

Monday, October 21st 2019, 5:40am

interactivecontent bug?

Hi!



So I'm creating a couple of textfield plugins, and even though the interactivecontent is set to true, they are still not selectable. These are the exact attributes used when creating them:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
type: 'text',
keep: true,
handcursor: false,
align: 'center',
width: 50,
height: 50,
bgcolor: 0,
bgalpha: 0.5,
bgroundedge: 50,
vcenter: true,
css: 'color:white;font-size:15px;font-weight:bold;text-align:center',
html: '0',
interactivecontent: true

What am I missing here? These are used as plugins btw, not hotspots. Krpano version is 1.2.

Alexey Tkachenko

Professional

Posts: 757

Location: Sevastopol, Crimea, Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Monday, October 21st 2019, 2:33pm

Hi)

This combination works here for me:

Source code

1
set(layer[test],			type='text',			keep=true,			handcursor=false,			align='center',			width=150,			height=150,			bgcolor=0,			bgalpha=0.5,			bgroundedge=50,			vcenter=true,			css='color:white;font-size:15px;font-weight:bold;text-align:center',			interactivecontent=true,			selectable=true,			html='test',			bgcapture=true		);



Try adding 'selectable' (and perhaps bgcapture=true).
Regards,

Alexey

3

Monday, October 21st 2019, 2:53pm

Selectable did it, thanks. Didn't realize that one had to be set aswell :)

Alexey Tkachenko

Professional

Posts: 757

Location: Sevastopol, Crimea, Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

4

Tuesday, October 22nd 2019, 8:13am

I just remember that setting because I bumped into the same issue maybe a year ago. However, I don't see 'selectable' in the Textffield plugin documentation.. Strange.. https://krpano.com/plugins/textfield/#top

*confused*
Regards,

Alexey

Similar threads