Skip to content

Commit fcd9f00

Browse files
committed
fix textarea visibility for fromTextArea
1 parent 7d38f3d commit fcd9f00

162 files changed

Lines changed: 162 additions & 162 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/acceleration-with-vectors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ <h1>Acceleration With Vectors</h1>
122122
<span>acceleration-with-vectors.pde</span>
123123
<button class="copy-btn" onclick="copyCode()">Copy</button>
124124
</div>
125-
<textarea id="code-pre" style="display:none">/**
125+
<textarea id="code-pre" style="position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;">/**
126126
* Acceleration with Vectors
127127
* by Daniel Shiffman.
128128
*

examples/additive-wave.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ <h1>Additive Wave</h1>
150150
<span>additive-wave.pde</span>
151151
<button class="copy-btn" onclick="copyCode()">Copy</button>
152152
</div>
153-
<textarea id="code-pre" style="display:none">/**
153+
<textarea id="code-pre" style="position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;">/**
154154
* Additive Wave
155155
* by Daniel Shiffman.
156156
*

examples/alpha-mask.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h1>Alpha Mask</h1>
9797
<span>alpha-mask.pde</span>
9898
<button class="copy-btn" onclick="copyCode()">Copy</button>
9999
</div>
100-
<textarea id="code-pre" style="display:none">/**
100+
<textarea id="code-pre" style="position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;">/**
101101
* Alpha Mask.
102102
*
103103
* Loads a "mask" for an image to specify the transparency

examples/animated-sprite.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ <h1>Animated Sprite</h1>
125125
<span>animated-sprite.pde</span>
126126
<button class="copy-btn" onclick="copyCode()">Copy</button>
127127
</div>
128-
<textarea id="code-pre" style="display:none">/**
128+
<textarea id="code-pre" style="position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;">/**
129129
* Animated Sprite (Shifty + Teddy)
130130
* by James Paterson.
131131
* Translated to C++ Mode.

examples/arctangent.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ <h1>Arctangent</h1>
130130
<span>arctangent.pde</span>
131131
<button class="copy-btn" onclick="copyCode()">Copy</button>
132132
</div>
133-
<textarea id="code-pre" style="display:none">/**
133+
<textarea id="code-pre" style="position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;">/**
134134
* Arctangent.
135135
*
136136
* Move the mouse to change the direction of the eyes.

examples/arm.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ <h1>Arm</h1>
107107
<span>arm.pde</span>
108108
<button class="copy-btn" onclick="copyCode()">Copy</button>
109109
</div>
110-
<textarea id="code-pre" style="display:none">/**
110+
<textarea id="code-pre" style="position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;">/**
111111
* Arm.
112112
*
113113
* The angle of each segment is controlled with the mouseX and

examples/array-2d.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ <h1>Array 2D</h1>
106106
<span>array-2d.pde</span>
107107
<button class="copy-btn" onclick="copyCode()">Copy</button>
108108
</div>
109-
<textarea id="code-pre" style="display:none">/**
109+
<textarea id="code-pre" style="position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;">/**
110110
* Array 2D.
111111
*
112112
* Demonstrates the syntax for creating a two-dimensional (2D) array.

examples/array-objects.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ <h1>Array Objects</h1>
146146
<span>array-objects.pde</span>
147147
<button class="copy-btn" onclick="copyCode()">Copy</button>
148148
</div>
149-
<textarea id="code-pre" style="display:none">/**
149+
<textarea id="code-pre" style="position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;">/**
150150
* Array Objects.
151151
*
152152
* Demonstrates the syntax for creating an array of custom objects.

examples/array.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h1>Array</h1>
114114
<span>array.pde</span>
115115
<button class="copy-btn" onclick="copyCode()">Copy</button>
116116
</div>
117-
<textarea id="code-pre" style="display:none">/**
117+
<textarea id="code-pre" style="position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;">/**
118118
* Array.
119119
*
120120
* An array is a list of data. Each piece of data in an array

examples/arraylist-of-objects.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ <h1>ArrayList of objects</h1>
126126
<span>arraylist-of-objects.pde</span>
127127
<button class="copy-btn" onclick="copyCode()">Copy</button>
128128
</div>
129-
<textarea id="code-pre" style="display:none">class Ball {
129+
<textarea id="code-pre" style="position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;">class Ball {
130130
public:
131131
float x;
132132
float y;

0 commit comments

Comments
 (0)